• Bug#1103914: coco-cpp FTCBFS: hard codes the build architecture compile

    From Helmut Grohne@21:1/5 to All on Tue Apr 22 22:20:01 2025
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)