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

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