This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gcc-in-cxx] Build driver-i386.o with $(CXX)
- From: Ian Lance Taylor <iant at google dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 31 Jan 2009 09:50:07 -0800
- Subject: [gcc-in-cxx] Build driver-i386.o with $(CXX)
I committed this patch to the gcc-in-cxx branch to build driver-i386.o
with $(CXX) rather than $(CC).
Ian
2009-01-31 Ian Lance Taylor <iant@google.com>
* config/i386/x-i386 (driver-i386.o): Build with $(CXX).
Index: config/i386/x-i386
===================================================================
--- config/i386/x-i386 (revision 143118)
+++ config/i386/x-i386 (working copy)
@@ -1,4 +1,4 @@
driver-i386.o : $(srcdir)/config/i386/driver-i386.c \
$(srcdir)/config/i386/cpuid.h \
$(CONFIG_H) $(SYSTEM_H) $(TM_H) coretypes.h
- $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
+ $(CXX) -c $(ALL_CXXFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<