Bug#1103914: coco-cpp FTCBFS: hard codes the build architecture compiler
Source: coco-cpp
Version: 20120102-5
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs
coco-cpp fails to cross build from source, because the upstream Makefile
hard codes the build architecture compiler g++. I'm attaching a patch
that makes this invocation substitutable and thus makes coco-cpp cross
buildable. Please consider applying it.
Helmut
--- coco-cpp-20120102.orig/Makefile
+++ coco-cpp-20120102/Makefile
@@ -1,5 +1,5 @@
all:
- g++ *.cpp -o Coco $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
+ $(CXX) *.cpp -o Coco $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
clean:
rm -f Coco
Reply to: