More portable build as PIE

This commit is contained in:
Pierre Pronchery 2016-05-12 01:34:49 +02:00
parent 1766937ce7
commit 5f95b0e5f7

View File

@ -1,6 +1,6 @@
targets=compare,fontsel,progress
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
ldflags=-pie -Wl,-z,relro -Wl,-z,now
#for Gtk+ 2
cflags_force=`pkg-config gtk+-2.0 --cflags`
ldflags_force=`pkg-config gtk+-2.0 --libs`