Fix building PIE on Linux and FreeBSD (possibly more)

This commit is contained in:
Pierre Pronchery 2016-03-06 13:55:09 +01:00
parent 6d7042eac0
commit 83bb22f8a3

View File

@ -1,6 +1,6 @@
targets=../data/Probe.h,Probe,DaMon
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,appbroker.sh,damon.h,damon-backend-app.c,damon-backend-salt.c,rrd.h
[../data/Probe.h]