Source: zita-lrx
Version: 0.1.0-3
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

zita-lrx fails to cross build from source, because the upstream Makefile
hard codes the build architecture compiler "g++". After making it
substitutable, dh_auto_build's substitution is used and zita-lrx becomes
cross buildable. Please consider applying the attached patch.

Helmut
--- zita-lrx-0.1.0.orig/source/Makefile
+++ zita-lrx-0.1.0/source/Makefile
@@ -35,7 +35,7 @@
 
 zita-lrx:	LDLIBS += -lclthreads -lpthread -ljack -lrt
 zita-lrx:	$(ZITA-LRX_O)
-	g++ $(LDFLAGS) -o $@ $(ZITA-LRX_O) $(LDLIBS)
+	$(CXX) $(LDFLAGS) -o $@ $(ZITA-LRX_O) $(LDLIBS)
 $(ZITA-LRX_O):
 -include $(ZITA-LRX_O:%.o=%.d)
 

Reply via email to