Build executables with -fPIE
This commit is contained in:
parent
c6558c05ce
commit
74a1103e78
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue
Block a user