Build with FORTIFY and full SSP by default
This commit is contained in:
parent
9f70e24527
commit
8376cfa5bd
|
@ -1,6 +1,6 @@
|
||||||
targets=../include/Init.h,../include/Session.h,Init
|
targets=../include/Init.h,../include/Session.h,Init
|
||||||
cflags_force=-W `pkg-config --cflags libApp`
|
cflags_force=-W `pkg-config --cflags libApp`
|
||||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
cflags=-Wall -g -O2 -pedantic -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||||
ldflags_force=`pkg-config --libs libApp` -Wl,--export-dynamic
|
ldflags_force=`pkg-config --libs libApp` -Wl,--export-dynamic
|
||||||
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
||||||
dist=Makefile,common.h,init.h,service.h,session.h
|
dist=Makefile,common.h,init.h,service.h,session.h
|
||||||
|
|
Loading…
Reference in New Issue
Block a user