Build strace(1) with security mitigations
This enables PIE with SSP, FORTIFY, and RELRO by default.
This commit is contained in:
parent
58c7511693
commit
c2eece285d
|
@ -1,6 +1,7 @@
|
|||
targets=strace
|
||||
cflags_force=-W
|
||||
cflags=-Wall -g -O2 -pedantic
|
||||
cflags=-Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
||||
dist=Makefile,platform.h,platform/freebsd.h,platform/linux.h,platform/netbsd.h,strace.h
|
||||
|
||||
[strace]
|
||||
|
|
Loading…
Reference in New Issue
Block a user