gdb: Pass -x c++ to the compiler
[deliverable/binutils-gdb.git] / gdb / Makefile.in
index 5e5fcaae7abafef67d290227dc3caabc303c6130..153a5dd6fb8817eab3dfeba3cd0dbff523f99c04 100644 (file)
@@ -114,7 +114,7 @@ depcomp = $(SHELL) $(srcdir)/../depcomp
 
 # Note that these are overridden by GNU make-specific code below if
 # GNU make is used.  The overrides implement dependency tracking.
-COMPILE.pre = $(CXX) $(CXX_DIALECT)
+COMPILE.pre = $(CXX) -x c++ $(CXX_DIALECT)
 COMPILE.post = -c -o $@
 COMPILE = $(COMPILE.pre) $(INTERNAL_CFLAGS) $(COMPILE.post)
 POSTCOMPILE = @true
This page took 0.024886 seconds and 4 git commands to generate.