Build with full ASLR, SSP and RELRO support by default

This commit is contained in:
Pierre Pronchery 2016-02-04 01:27:51 +01:00
parent d653253e7f
commit 3d69623418

View File

@ -1,8 +1,8 @@
targets=../data/Probe.h,Probe,DaMon targets=../data/Probe.h,Probe,DaMon
cflags_force=-W `pkg-config --cflags libApp` cflags_force=`pkg-config --cflags libApp`
cflags=-Wall -g -O2 -pedantic cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs libApp` ldflags_force=`pkg-config --libs libApp`
ldflags= ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,appbroker.sh,damon.h,rrd.h dist=Makefile,appbroker.sh,damon.h,rrd.h
[../data/Probe.h] [../data/Probe.h]