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