Build executables as PIE

This commit is contained in:
Pierre Pronchery 2015-07-12 18:19:42 +02:00
parent f0e9e68349
commit 3ba1f85f4e

View File

@ -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]