changeset 3753:ca2cc93a6640

Tell gcc explicitly that the input from stdin is C++, allowing C++ flags to be used.
author andrew
date Thu, 25 Jul 2013 20:28:04 +0100
parents d24281f1ddc2
children 799641e9320f
files make/linux/makefiles/zeroshark.make
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/linux/makefiles/zeroshark.make	Wed Jul 24 22:26:51 2013 +0100
+++ b/make/linux/makefiles/zeroshark.make	Thu Jul 25 20:28:04 2013 +0100
@@ -42,7 +42,7 @@
 
 bytecodes_arm.s: bytecodes_arm.def mkbc
 	@echo Generating ARM assembler bytecode sequences
-	$(CXX_COMPILE) -E - < $< | ./mkbc - $@ $(COMPILE_DONE)
+	$(CXX_COMPILE) -E -x c++ - < $< | ./mkbc - $@ $(COMPILE_DONE)
 
 mkbc:	$(GAMMADIR)/tools/mkbc.c
 	@echo Compiling mkbc tool