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