Fix building PIE on Linux and FreeBSD (possibly more)
This commit is contained in:
parent
9a97ef8a2a
commit
f92b96b35a
|
@ -4,7 +4,7 @@ cppflags=
|
|||
cflags_force=`pkg-config --cflags cpp`
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=`pkg-config --libs cpp`
|
||||
ldflags=-L$(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -Wl,-pie -Wl,-z,relro -Wl,-z,now
|
||||
ldflags=-L$(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -pie -Wl,-z,relro -Wl,-z,now
|
||||
dist=Makefile,code.h,common.h,parser.h,scanner.h,tokenset.h
|
||||
|
||||
[c99]
|
||||
|
|
Loading…
Reference in New Issue
Block a user