Build executables with -fPIE
This commit is contained in:
parent
3ba1f85f4e
commit
d345f6bdce
|
@ -1,7 +1,7 @@
|
||||||
targets=compare,fontsel,progress
|
targets=compare,fontsel,progress
|
||||||
#cflags_force=-W `pkg-config gtk+-3.0 --cflags`
|
#cflags_force=-W `pkg-config gtk+-3.0 --cflags`
|
||||||
cflags_force=-W `pkg-config gtk+-2.0 --cflags`
|
cflags_force=-W `pkg-config gtk+-2.0 --cflags`
|
||||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
|
||||||
#ldflags_force=`pkg-config gtk+-3.0 --libs`
|
#ldflags_force=`pkg-config gtk+-3.0 --libs`
|
||||||
ldflags_force=`pkg-config gtk+-2.0 --libs`
|
ldflags_force=`pkg-config gtk+-2.0 --libs`
|
||||||
ldflags=-Wl,-pie
|
ldflags=-Wl,-pie
|
||||||
|
|
Loading…
Reference in New Issue
Block a user