Build executables with -fPIE

This commit is contained in:
Pierre Pronchery 2015-07-21 02:54:13 +02:00
parent c6558c05ce
commit 74a1103e78

View File

@ -1,6 +1,6 @@
targets=clock
cflags_force=-W `pkg-config --cflags libSystem gtk+-2.0`
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
ldflags_force=`pkg-config --libs libSystem gtk+-2.0` -lintl
#for Gtk+ 3
#cflags_force=-W `pkg-config --cflags libSystem gtk+-3.0`