Build the tests as PIE too

This commit is contained in:
Pierre Pronchery 2015-07-19 02:45:21 +02:00
parent 00192f02e3
commit 72639c9baa

View File

@ -1,9 +1,9 @@
targets=array,config,includes,pylint.log,string,variable,tests.log
cppflags_force=-I ../include
cflags_force=-W
cflags=-Wall -g -O2 -pedantic -fstack-protector
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
ldflags_force=-L../src -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lSystem
ldflags=-L$(PREFIX)/lib -Wl,-rpath,"$(PWD)/../src"
ldflags=-L$(PREFIX)/lib -Wl,-rpath,"$(PWD)/../src" -Wl,-pie -Wl,-z,relro
dist=COPYING,Makefile,config.conf,config-noeol.conf,pylint.sh,python.sh,tests.sh
[array]