diff --git a/src/project.conf b/src/project.conf index ba69c40..e0b716c 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,9 +1,9 @@ targets=todo #cppflags=-D EMBEDDED cflags_force=-W `pkg-config --cflags libDesktop` -cflags=-Wall -g -O2 -pedantic +cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector ldflags_force=`pkg-config --libs libDesktop` -lintl -ldflags= +ldflags=-Wl,-pie dist=Makefile,priority.h,task.h,taskedit.h,todo.h,window.h [todo] diff --git a/tools/project.conf b/tools/project.conf index 468b70c..b95bdae 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -1,6 +1,6 @@ targets=todo -cflags_force=-W -fPIC `pkg-config --cflags libDesktop Mailer` -cflags=-Wall -g -O2 -pedantic +cflags_force=-W `pkg-config --cflags libDesktop Mailer` +cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector ldflags_force=`pkg-config --libs libDesktop` dist=Makefile