Source: cdck
Version: 0.7.0+dfsg-1
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

cdck fails to cross build from source, because configure.ac hard codes
the build architecture compiler gcc in one place and thus tries to use
the build architecture libsupc++. Using $CC there fixes the cross build.
Please consider applying the attached patch.

Helmut
--- cdck-0.7.0+dfsg.orig/configure.ac
+++ cdck-0.7.0+dfsg/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"
 

Reply via email to