[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#956944: pd-creb FTCBFS: uses the build architecture compiler



Source: pd-creb
Version: 0.9.2+darcs20151027-3
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

pd-creb fails to cross build from source, because it uses the build
architecture compiler as a make default. A typical autotools project
should be using the compiler detected by configure instead. In case of
C++, the configure script doesn't even attempt to detect it. The
attached patch fixes all of that. Please consider applying it.

Helmut
--- pd-creb-0.9.2+darcs20151027.orig/Makefile.config.in
+++ pd-creb-0.9.2+darcs20151027/Makefile.config.in
@@ -1,3 +1,5 @@
+CC = @CC@
+CXX = @CXX@
 PD_INCLUDE_DIR = @PD_INCLUDE_DIR@
 LIBNAME = @LIBNAME@
 LIBFLAGS = @LIBFLAGS@ $(EXTRA_LDFLAGS)
--- pd-creb-0.9.2+darcs20151027.orig/configure.ac
+++ pd-creb-0.9.2+darcs20151027/configure.ac
@@ -1,5 +1,6 @@
 AC_INIT(modules/setup.c)
 AC_PROG_CC
+AC_PROG_CXX
 AC_HEADER_STDC
 
 

Reply to: