Source: jmeters
Version: 0.4.1-4
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap

jmeters fails to cross build from source, because the upstream Makefile
hard codes the build architecture compiler in one place. After making it
substitutable, jmeters cross builds successfully. Please consider
applying the attached patch.

Helmut
--- jmeters-0.4.1.orig/source/Makefile
+++ jmeters-0.4.1/source/Makefile
@@ -41,7 +41,7 @@
 jmeters:	LDLIBS += -lsndfile -lclxclient -lclthreads -ljack -lpthread -lcairo -lpng -lXft -lX11 -lrt
 jmeters:	LDFLAGS += -L/usr/X11R6/lib
 jmeters:	$(JMETERS_O)
-	g++ $(LDFLAGS) -o $@ $(JMETERS_O) $(LDLIBS)
+	$(CXX) $(LDFLAGS) -o $@ $(JMETERS_O) $(LDLIBS)
 
 $(JMETERS_O):
 -include $(JMETERS_O:%.o=%.d)

Reply via email to