More portable build as PIE

This commit is contained in:
Pierre Pronchery 2016-05-12 01:10:43 +02:00
parent 7848dc7a97
commit c4b48cd59f

View File

@ -1,7 +1,7 @@
subdirs=backend
targets=flashlight
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
cflags_force=`pkg-config --cflags libDesktop`
ldflags_force=`pkg-config --libs libDesktop`
dist=Makefile,backend.h,flashlight.h,window.h