Build with full RELRO by default

This commit is contained in:
Pierre Pronchery 2016-05-12 01:33:30 +02:00
parent 91d39ff38e
commit 9be580d2ef
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@ targets=todo
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=-pie
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,priority.h,task.h,taskedit.h,todo.h,window.h
[todo]

View File

@ -2,6 +2,7 @@ targets=todo
cflags_force=`pkg-config --cflags libDesktop Mailer` -fPIC
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs libDesktop`
ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile,subst.sh
[todo]