Build Init as PIE and with -fstack-protector

This commit is contained in:
Pierre Pronchery 2015-07-11 15:17:51 +02:00
parent afbdb9a74f
commit a9d88429fc

View File

@ -1,8 +1,8 @@
targets=../include/Init.h,../include/Session.h,Init
cflags_force=-W `pkg-config --cflags libApp`
cflags=-Wall -g -O2 -pedantic
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
ldflags_force=`pkg-config --libs libApp` -Wl,--export-dynamic
ldflags=
ldflags=-Wl,-pie
dist=Makefile,common.h,init.h,service.h,session.h
[../include/Init.h]