More portable build as PIE

This commit is contained in:
Pierre Pronchery 2016-05-12 01:03:49 +02:00
parent c869d1d2b4
commit ead5edc225

View File

@ -3,7 +3,7 @@ cppflags_force=-I ../include
cflags_force=`pkg-config --cflags libSystem`
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs libSystem` -L$(OBJDIR)../src -Wl,-rpath,../src -lDatabase
ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile
[client]