summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/cdck/files/cdck-0.7.0-cross.patch')
-rw-r--r--app-cdr/cdck/files/cdck-0.7.0-cross.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-cdr/cdck/files/cdck-0.7.0-cross.patch b/app-cdr/cdck/files/cdck-0.7.0-cross.patch
new file mode 100644
index 000000000000..dae65e604898
--- /dev/null
+++ b/app-cdr/cdck/files/cdck-0.7.0-cross.patch
@@ -0,0 +1,20 @@
+Description: replace hard-coded `gcc' with $CC in configure.ac
+ to allow cross-building.
+Origin: vendor
+Bug-Debian: https://bugs.debian.org/901177
+Forwarded: not-yet
+Author: Helmut Grohne <helmut@subdivi.de>
+Reviewed-by: gregor herrmann <gregoa@debian.org>
+Last-Update: 2018-06-09
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -96,7 +96,7 @@
+ CXXFLAGS="$CXXFLAGS -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -export-dynamic "
+ fi
+
+-SUPCXX=`gcc -print-file-name=libsupc++.a`
++SUPCXX=`$CC -print-file-name=libsupc++.a`
+
+ LIBS="$SUPCXX $LIBS"
+