This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gcc-in-cxx] Build i386-c.c 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:52:46 -0800
- Subject: [gcc-in-cxx] Build i386-c.c with $(CXX)
I committed this patch to the gcc-in-cxx branch to build i386-c.c with
$(CXX).
Ian
2009-01-31 Ian Lance Taylor <iant@google.com>
* config/i386/t-i386 (i386-c.o): Build with $(CXX)
Index: config/i386/t-i386
===================================================================
--- config/i386/t-i386 (revision 143118)
+++ config/i386/t-i386 (working copy)
@@ -10,4 +10,4 @@ i386-c.o: $(srcdir)/config/i386/i386-c.c
$(srcdir)/config/i386/i386-protos.h $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(FLAGS_H) $(C_COMMON_H) $(GGC_H) \
$(TARGET_H) $(TARGET_DEF_H) $(CPPLIB_H) $(C_PRAGMA_H)
- $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/i386-c.c
+ $(CXX) -c $(ALL_CXXFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i386/i386-c.c