Source: japa
Version: 0.8.4-2
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

japa fails to cross build from source, because source/Makefile hard
codes the build architecture compiler g++. After making it
substitutable, japa cross builds successfully. Please consider applying
the attached patch.

Helmut
--- japa-0.8.4.orig/source/Makefile
+++ japa-0.8.4/source/Makefile
@@ -32,7 +32,7 @@
 
 JAPA_O = analyser.o audio.o gobjects.o japa.o mainwin.o styles.o rngen.o
 japa:	$(JAPA_O)
-	g++ $(LDFLAGS) -o $@ $(JAPA_O) $(LDLIBS)
+	$(CXX) $(LDFLAGS) -o $@ $(JAPA_O) $(LDLIBS)
 
 $(JAPA_O):
 -include $(JAPA_O:%.o=%.d)

Reply via email to