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]

[RFA] Fix libsupc++/Makefile.in


I've been working on a combined C/ObjC/C++ options handler.  It
is a little more strict than the current one, and it is tripped
up by cxa_demangle.c being compiled with -fno-implicit-templates.

This seems to fix it, but I'm not 100% certain this is right.
However, it does appear that LTCOMPILE is intended for C file
compilations, so having C++ flags is daft.

OK to commit?

Neil.

	* libsupc++/Makefile.in (LT_COMPILE): Remove C++ flags.

Index: libstdc++-v3/libsupc++/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/libsupc++/Makefile.in,v
retrieving revision 1.81
diff -u -p -r1.81 Makefile.in
--- libstdc++-v3/libsupc++/Makefile.in	27 Jun 2002 10:16:46 -0000	1.81
+++ libstdc++-v3/libsupc++/Makefile.in	1 Aug 2002 20:34:53 -0000
@@ -223,7 +223,7 @@ C_COMPILE = \
 # LTCOMPILE is copied from LTCXXCOMPILE below.
 LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared --mode=compile $(CC) \
 	    $(DEFS) $(GCC_INCLUDES) \
-            $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
+            $(AM_CPPFLAGS) $(CPPFLAGS)
 
 
 # AM_CXXFLAGS needs to be in each subdirectory so that it can be


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