More portable build as PIE

This commit is contained in:
Pierre Pronchery 2016-05-12 01:19:46 +02:00
parent a4b9475651
commit 7f5528537c

View File

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