Use more portable LDFLAGS for PIE
This commit is contained in:
parent
a0c5d1d9ec
commit
3c54d45ca1
|
@ -2,7 +2,7 @@ targets=array,config,error,event,includes,pylint.log,string,variable,tests.log
|
|||
cppflags_force=-I ../include
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=-L../src -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lSystem
|
||||
ldflags=-L$(PREFIX)/lib -Wl,-rpath,"$(PWD)/../src" -Wl,-pie -Wl,-z,relro -Wl,-z,now
|
||||
ldflags=-L$(PREFIX)/lib -Wl,-rpath,"$(PWD)/../src" -pie -shared-libgcc -Wl,-z,relro -Wl,-z,now
|
||||
dist=COPYING,Makefile,config.conf,config-noeol.conf,pylint.sh,python.sh,tests.sh
|
||||
|
||||
[array]
|
||||
|
|
|
@ -3,7 +3,7 @@ cppflags_force=-I ../include
|
|||
cppflags=
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=-L$(OBJDIR)../src -Wl,-rpath,$(PREFIX)/lib -lSystem
|
||||
ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
|
||||
ldflags=-pie -shared-libgcc -Wl,-z,relro -Wl,-z,now
|
||||
dist=COPYING,Makefile,subst.sh
|
||||
|
||||
[configctl]
|
||||
|
|
Loading…
Reference in New Issue
Block a user