Build with -fstack-protector and executables as PIE
This commit is contained in:
parent
e9f3d12383
commit
c4fcbf95b1
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user