diff --git a/src/project.conf b/src/project.conf index 7bc0a20..647aba1 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,9 +1,9 @@ targets=editor #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` -lm -lintl -ldflags= +ldflags=-Wl,-pie dist=Makefile,callbacks.h,editor.h,filter.h [editor] diff --git a/tools/project.conf b/tools/project.conf index 1558808..a9d15a3 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -1,8 +1,8 @@ targets=filter cflags_force=-W `pkg-config --cflags libSystem` -cflags=-Wall -g -O2 -pedantic +cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector ldflags_force=`pkg-config --libs libSystem` -lintl -ldflags= +ldflags=-Wl,-pie dist=Makefile [filter]