Source: clonalframeml Version: 1.11-2 Tags: upstream patch User: [email protected] Usertags: rebootstrap
clonalframeml fails to cross build from source, because it uses CC to store the C++ compiler while debhelper passes a C compiler there. The attached patch renames the variable to CXX in the upstream makefile to make clonalframeml cross buildable. Please consider applying it. Helmut
--- clonalframeml-1.11.orig/src/makefile +++ clonalframeml-1.11/src/makefile @@ -1,5 +1,5 @@ # Make file for ClonalFrameML -CC = g++ +CXX = g++ CFLAGS += -O3 -I./ -I./myutils -I./coalesce OBJECTS = main.o HEADERS = main.h brent.h powell.h version.h @@ -9,10 +9,10 @@ all: version ClonalFrameML ClonalFrameML: $(OBJECTS) - $(CC) $(LDFLAGS) -o ClonalFrameML $(OBJECTS) + $(CXX) $(LDFLAGS) -o ClonalFrameML $(OBJECTS) main.o: main.cpp $(HEADERS) - $(CC) $(CFLAGS) -c -o main.o main.cpp + $(CXX) $(CFLAGS) -c -o main.o main.cpp version: version.h # /bin/echo "#define ClonalFrameML_GITRevision \"`git describe --tags`\"" > version.h

