Build with RELRO, and full SSP and ASLR support
This commit is contained in:
parent
89da2a7fbb
commit
54d9018ce1
|
@ -1,9 +1,9 @@
|
|||
targets=editor
|
||||
#cppflags=-D EMBEDDED
|
||||
cflags_force=-W `pkg-config --cflags libDesktop`
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||
cflags_force=`pkg-config --cflags libDesktop`
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=`pkg-config --libs libDesktop` -lm -lintl
|
||||
ldflags=-Wl,-pie
|
||||
ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
|
||||
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 -fPIC -fstack-protector
|
||||
cflags_force=`pkg-config --cflags libSystem`
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=`pkg-config --libs libSystem` -lintl
|
||||
ldflags=-Wl,-pie
|
||||
ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
|
||||
dist=Makefile
|
||||
|
||||
[filter]
|
||||
|
|
Loading…
Reference in New Issue
Block a user