changeset 5049:297a0304a568

Use $(CC) to compile mkbc instead of $(CC_COMPILE) to avoid C++-only flags
author andrew
date Wed, 17 Jul 2013 13:52:07 +0100
parents 60dbdc6b0859
children d54091fd1092
files make/linux/makefiles/zeroshark.make
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/linux/makefiles/zeroshark.make	Fri Jul 12 21:41:06 2013 +0100
+++ b/make/linux/makefiles/zeroshark.make	Wed Jul 17 13:52:07 2013 +0100
@@ -44,9 +44,10 @@
 	@echo Generatine ARM assembler bytecode sequences
 	$(CC_COMPILE) -E -x c++ - < $< | ./mkbc - $@ $(COMPILE_DONE)
 
+# Can't use $(CC_COMPILE) as it contains C++ flags
 mkbc:	$(GAMMADIR)/tools/mkbc.c
 	@echo Compiling mkbc tool
-	$(CC_COMPILE) -o $@ $< $(COMPILE_DONE)
+	$(CC) -o $@ $< $(COMPILE_DONE)
 
 mkoffsets:	asm_helper.cpp
 	@echo Compiling offset generator