Build the tools as PIE
This commit is contained in:
parent
a15564c5eb
commit
cf76d8698a
|
@ -2,9 +2,9 @@ targets=AppBroker,AppClient
|
||||||
cppflags_force=-I ../include
|
cppflags_force=-I ../include
|
||||||
cppflags=
|
cppflags=
|
||||||
cflags_force=-W `pkg-config --cflags libSystem`
|
cflags_force=-W `pkg-config --cflags libSystem`
|
||||||
cflags=-Wall -g -O2 -pedantic -fstack-protector
|
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||||
ldflags_force=-L../src `pkg-config --libs libSystem` -lApp
|
ldflags_force=-L../src `pkg-config --libs libSystem` -lApp
|
||||||
ldflags=-L$(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib
|
ldflags=-L$(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -Wl,-pie
|
||||||
dist=Makefile,appbroker.sh
|
dist=Makefile,appbroker.sh
|
||||||
|
|
||||||
[AppBroker]
|
[AppBroker]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user