Build executables with -fPIE
This commit is contained in:
parent
f1959b21f6
commit
ef0a1efb4b
|
@ -1,6 +1,6 @@
|
||||||
targets=camera
|
targets=camera
|
||||||
cflags_force=-W `pkg-config --cflags libDesktop`
|
cflags_force=-W `pkg-config --cflags libDesktop`
|
||||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
|
||||||
ldflags_force=`pkg-config --libs libDesktop` -lintl
|
ldflags_force=`pkg-config --libs libDesktop` -lintl
|
||||||
#for Gtk+ 3
|
#for Gtk+ 3
|
||||||
#cflags_force=-W `pkg-config --cflags libDesktop gtk+-x11-3.0`
|
#cflags_force=-W `pkg-config --cflags libDesktop gtk+-x11-3.0`
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
targets=gallery
|
targets=gallery
|
||||||
cflags_force=-W `pkg-config --cflags gtk+-2.0`
|
cflags_force=-W `pkg-config --cflags gtk+-2.0`
|
||||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
|
||||||
ldflags_force=`pkg-config --libs glib-2.0`
|
ldflags_force=`pkg-config --libs glib-2.0`
|
||||||
#for Gtk+ 3
|
#for Gtk+ 3
|
||||||
#cflags_force=-W `pkg-config --cflags gtk+-3.0`
|
#cflags_force=-W `pkg-config --cflags gtk+-3.0`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user