More portable build as PIE
This commit is contained in:
parent
c869d1d2b4
commit
ead5edc225
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue
Block a user