1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: use $(CXX) instead of hardcoding g++
This fixes cross building, where the compiler used is prefixed by the host architecture
Author: Mattia Rizzolo <mattia@debian.org>
Last-Update: 2017-08-29
Forwarded: Fons Adriaensen <fons@linuxaudio.org>
--- a/source/Makefile
+++ b/source/Makefile
@@ -37,7 +37,7 @@
jnoise: CPPFLAGS += -ffast-math
jnoise: LDLIBS += -ljack -lrt
jnoise: $(JNOISE_O)
- g++ $(LDFLAGS) -o $@ $(JNOISE_O) $(LDLIBS)
+ $(CXX) $(LDFLAGS) -o $@ $(JNOISE_O) $(LDLIBS)
$(JNOISE_O):
-include $(JNOISE_O:%.o=%.d)
|