More portable build as PIE

This commit is contained in:
Pierre Pronchery 2016-05-12 01:32:38 +02:00
parent daba5c093d
commit 91d39ff38e

View File

@ -3,7 +3,7 @@ targets=todo
cflags_force=`pkg-config --cflags libDesktop` cflags_force=`pkg-config --cflags libDesktop`
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs libDesktop` -lintl ldflags_force=`pkg-config --libs libDesktop` -lintl
ldflags=-Wl,-pie ldflags=-pie
dist=Makefile,priority.h,task.h,taskedit.h,todo.h,window.h dist=Makefile,priority.h,task.h,taskedit.h,todo.h,window.h
[todo] [todo]