diff --git a/src/project.conf b/src/project.conf index 930c0a6..8edf35a 100644 --- a/src/project.conf +++ b/src/project.conf @@ -2,7 +2,7 @@ targets=configure,makedepend,makefile.o cppflags= cflags_force=`pkg-config --cflags libSystem` -cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all +cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all ldflags_force=`pkg-config --libs libSystem` ldflags=-pie -Wl,-z,relro -Wl,-z,now dist=Makefile,configure.h,makefile.h,settings.h diff --git a/tools/project.conf b/tools/project.conf index e7bd3b3..804e4ba 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -1,5 +1,5 @@ targets=pkg-config -cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all +cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all ldflags=-pie -Wl,-z,relro -Wl,-z,now dist=Makefile