| 123456789101112131415161718192021222324252627282930313233 | Description: Add LDFLAGS to linking phase to enable hardening. The Makefile is so simple that it doesn't even contemplate the use of LDFLAGS.Author: David Martínez Moreno <ender@debian.org>Forwarded: noLast-Update: 2015-07-29--- a/makefile+++ b/makefile@@ -13,19 +13,19 @@ CC = gcc  vblade: $O-	${CC} -o vblade $O+	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o vblade $O  aoe.o : aoe.c config.h dat.h fns.h makefile-	${CC} ${CFLAGS} -c $<+	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -c $<  ${PLATFORM}.o : ${PLATFORM}.c config.h dat.h fns.h makefile-	${CC} ${CFLAGS} -c $<+	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -c $<  ata.o : ata.c config.h dat.h fns.h makefile-	${CC} ${CFLAGS} -c $<+	${CC} $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c $<  bpf.o : bpf.c-	${CC} ${CFLAGS} -c $<+	${CC} $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c $<  config.h : config/config.h.in makefile 	@if ${CC} ${CFLAGS} config/u64.c > /dev/null 2>&1; then \
 |