Build with full SSP, RELRO and as PIE by default
This commit is contained in:
parent
8f0ba38e9f
commit
c452dd539f
|
@ -1,9 +1,9 @@
|
||||||
targets=xmleditor
|
targets=xmleditor
|
||||||
#cppflags=-D EMBEDDED
|
#cppflags=-D EMBEDDED
|
||||||
cflags_force=-W `pkg-config --cflags libParser libDesktop`
|
cflags_force=`pkg-config --cflags libParser libDesktop`
|
||||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||||
ldflags_force=`pkg-config --libs libParser libDesktop` -lintl
|
ldflags_force=`pkg-config --libs libParser libDesktop` -lintl
|
||||||
ldflags=-Wl,-pie
|
ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
|
||||||
dist=Makefile,callbacks.h,xmleditor.h
|
dist=Makefile,callbacks.h,xmleditor.h
|
||||||
|
|
||||||
[xmleditor]
|
[xmleditor]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user