summaryrefslogtreecommitdiffstats
path: root/audio/mkcue/use_ldflags.diff
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mkcue/use_ldflags.diff')
-rw-r--r--audio/mkcue/use_ldflags.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/audio/mkcue/use_ldflags.diff b/audio/mkcue/use_ldflags.diff
new file mode 100644
index 0000000000..e5fb4f8287
--- /dev/null
+++ b/audio/mkcue/use_ldflags.diff
@@ -0,0 +1,17 @@
+Description: ensure use of Debian $LDFLAGS
+ Ensure use of Debian $LDFLAGS, so that hardening options get used.
+Author: Moray Allan <moray@debian.org>
+Last-Update: 2016-03-17
+Index: GNUmakefile.in
+===================================================================
+--- mkcue-1.orig/GNUmakefile.in
++++ mkcue-1/GNUmakefile.in
+@@ -54,7 +54,7 @@ INSTALL_SCRIPT= ${INSTALL_PROGRAM}
+ all: mkcue
+
+ mkcue: mkcue.o mb.o
+- ${CXX} -o $@ mkcue.o mb.o
++ ${CXX} -o $@ mkcue.o mb.o ${LDFLAGS}
+
+ clean:
+ rm -f mkcue *.o