Build ldd(1) as a PIE by default

This commit is contained in:
Pierre Pronchery 2021-10-08 21:10:22 +02:00
parent c598b8c621
commit 1a49c1cb00

View File

@ -1,8 +1,8 @@
targets=ldd
cppflags_force=
cflags_force=-g
cflags=-W -Wall -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags=-Wl,-z,relro -Wl,-z,now
cflags=-W -Wall -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,elf.c
mode=amd64-debug