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 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) $<

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