File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 3232
3333MAKEOVERRIDES+=DEBUG =$(DEBUG )
3434
35- ifndef MXE
35+ ifdef MXE
36+ CPLUSPLUSOVERRIDE =
37+ else
3638ifdef GCC
3739COMPILER =g++
3840else
@@ -47,13 +49,13 @@ LINK=$(COMPILER)
4749endif
4850export COMPILER
4951export CPLUSPLUS =$(COMPILER )
50- MAKEOVERRIDES+ =CPLUSPLUS ="$(COMPILER ) "
52+ CPLUSPLUSOVERRIDE =CPLUSPLUS ="$(COMPILER ) "
5153endif
5254
5355ifneq ($(MAKECMDGOALS ) ,clean)
5456# make sure EcoLab is built first, even before starting to include Makefiles
5557# disable AEGIS build here, as EcoLab 6 is still a little raw
56- build_ecolab: =$(shell cd ecolab; if $(MAKE ) $(MAKEOVERRIDES ) AEGIS= $(JOBS ) only-libs >build.log 2>&1; then echo "ecolab built"; fi)
58+ build_ecolab: =$(shell cd ecolab; if $(MAKE ) $(MAKEOVERRIDES ) $( CPLUSPLUSOVERRIDE ) AEGIS= $(JOBS ) only-libs >build.log 2>&1; then echo "ecolab built"; fi)
5759
5860# $(warning $(build_ecolab))
5961ifneq ($(build_ecolab ) ,ecolab built)
@@ -487,7 +489,7 @@ $(warning $(CPLUSPLUS) , $(COMPILER))
487489
488490
489491tests : $(EXES )
490- cd test ; $(MAKE ) $( MAKEOVERRIDES )
492+ cd test ; $(MAKE )
491493
492494BASIC_CLEAN =rm -rf *.o *~ "\# *\#" core *.d *.cd *.rcd *.tcd *.xcd *.gcda *.gcno *.so *.dll *.dylib
493495
You can’t perform that action at this time.
0 commit comments