use_ldflags.diff 507 B

123456789101112131415161718
  1. Description: ensure use of Debian $LDFLAGS
  2. Ensure use of Debian $LDFLAGS, so that hardening options get used.
  3. Author: Moray Allan <moray@debian.org>
  4. Last-Update: 2016-03-17
  5. Index: GNUmakefile.in
  6. ===================================================================
  7. --- mkcue-1.orig/GNUmakefile.in
  8. +++ mkcue-1/GNUmakefile.in
  9. @@ -54,7 +54,7 @@ INSTALL_SCRIPT= ${INSTALL_PROGRAM}
  10. all: mkcue
  11. mkcue: mkcue.o mb.o
  12. - ${CXX} -o $@ mkcue.o mb.o
  13. + ${CXX} -o $@ mkcue.o mb.o ${LDFLAGS}
  14. clean:
  15. rm -f mkcue *.o