Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
424 B

Description: add GCC hardening.
Author: Joao Eriberto Mota Filho <eriberto@debian.org>
Last-Update: 2016-12-30
Index: sockstat-0.3/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ SRCS = sockstat.c
OBJS = ${SRCS:.c=.o}
sockstat: ${OBJS}
- cc -o $@ ${OBJS}
+ cc -o $@ $(LDFLAGS) ${OBJS}
install:
install -m 755 -c sockstat ${DESTDIR}/usr/bin