diff --git a/src/project.conf b/src/project.conf index e0b716c..4120dea 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,7 +1,7 @@ targets=todo #cppflags=-D EMBEDDED -cflags_force=-W `pkg-config --cflags libDesktop` -cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector +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 dist=Makefile,priority.h,task.h,taskedit.h,todo.h,window.h diff --git a/tools/project.conf b/tools/project.conf index 1789beb..77478fa 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -1,6 +1,6 @@ targets=todo -cflags_force=-W `pkg-config --cflags libDesktop Mailer` -cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector +cflags_force=`pkg-config --cflags libDesktop Mailer` +cflags=-W -Wall -g -O2 -pedantic -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-all ldflags_force=`pkg-config --libs libDesktop` dist=Makefile