Build with full RELRO by default
This commit is contained in:
parent
91d39ff38e
commit
9be580d2ef
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue
Block a user