This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]