Source: zita-njbridge Version: 0.4.1-1 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
zita-njbridge fails to cross build from source, because its upstream Makefile hard codes the build architecture compiler. After making it substitutable, it cross builds successfully. Please consider applying the attached patch. Helmut
--- zita-njbridge-0.4.1.orig/source/Makefile +++ zita-njbridge-0.4.1/source/Makefile @@ -39,7 +39,7 @@ -include $(ZITA-J2N_O:%.o=%.d) zita-j2n: LDLIBS += -ljack -lpthread -lm -lrt zita-j2n: $(ZITA-J2N_O) - g++ $(LDFLAGS) -o $@ $(ZITA-J2N_O) $(LDLIBS) + $(CXX) $(LDFLAGS) -o $@ $(ZITA-J2N_O) $(LDLIBS) ZITA-N2J_O = zita-n2j.o netdata.o jackrx.o netrx.o pxthread.o lfqueue.o zsockets.o syncrx.o @@ -47,7 +47,7 @@ -include $(ZITA-N2J_O:%.o=%.d) zita-n2j: LDLIBS += -lzita-resampler -ljack -lpthread -lm -lrt zita-n2j: $(ZITA-N2J_O) - g++ $(LDFLAGS) -o $@ $(ZITA-N2J_O) $(LDLIBS) + $(CXX) $(LDFLAGS) -o $@ $(ZITA-N2J_O) $(LDLIBS) zita-njbridge.1.gz: zita-njbridge.1