diff src/armadillo.mk @ 3031:951da75fd09c

improve handling of cross tool prefix
author John W. Eaton <jwe@octave.org>
date Sun, 09 Jun 2013 09:48:08 -0400
parents b6c7244a2f66
children 5ef49fb3299d
line wrap: on
line diff
--- a/src/armadillo.mk	Sat Jun 08 20:53:29 2013 -0400
+++ b/src/armadillo.mk	Sun Jun 09 09:48:08 2013 -0400
@@ -21,7 +21,7 @@
     $(MAKE) -C '$(1)' -j '$(JOBS)' install VERBOSE=1
 
     # note: don't use -Werror with GCC 4.7.0 and .1
-    '$(TARGET)-g++' \
+    '$(MXE_CXX)' \
         -W -Wall \
         '$(2).cpp' -o '$(HOST_BINDIR)/test-armadillo.exe' \
         -larmadillo -llapack -lblas -lgfortran