Build with -fstack-protector and executables as PIE
This commit is contained in:
parent
e9f3d12383
commit
c4fcbf95b1
|
@ -1,9 +1,9 @@
|
||||||
targets=todo
|
targets=todo
|
||||||
#cppflags=-D EMBEDDED
|
#cppflags=-D EMBEDDED
|
||||||
cflags_force=-W `pkg-config --cflags libDesktop`
|
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_force=`pkg-config --libs libDesktop` -lintl
|
||||||
ldflags=
|
ldflags=-Wl,-pie
|
||||||
dist=Makefile,priority.h,task.h,taskedit.h,todo.h,window.h
|
dist=Makefile,priority.h,task.h,taskedit.h,todo.h,window.h
|
||||||
|
|
||||||
[todo]
|
[todo]
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
targets=todo
|
targets=todo
|
||||||
cflags_force=-W -fPIC `pkg-config --cflags libDesktop Mailer`
|
cflags_force=-W `pkg-config --cflags libDesktop Mailer`
|
||||||
cflags=-Wall -g -O2 -pedantic
|
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||||
ldflags_force=`pkg-config --libs libDesktop`
|
ldflags_force=`pkg-config --libs libDesktop`
|
||||||
dist=Makefile
|
dist=Makefile
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user