Build with FORTIFY and full SSP by default

This commit is contained in:
Pierre Pronchery 2016-05-12 00:53:19 +02:00
parent 9f70e24527
commit 8376cfa5bd

View File

@ -1,6 +1,6 @@
targets=../include/Init.h,../include/Session.h,Init
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=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,common.h,init.h,service.h,session.h