From f1e77cb120cf03f1c326d4a58bd304c98f7659e4 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 12 May 2016 01:20:06 +0200 Subject: [PATCH] Build with full RELRO by default --- src/project.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project.conf b/src/project.conf index 9c4af25..228d502 100644 --- a/src/project.conf +++ b/src/project.conf @@ -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=-pie +ldflags=-pie -Wl,-z,relro -Wl,-z,now dist=Makefile,note.h,noteedit.h,notes.h,window.h [notes]