This is the mail archive of the 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++/

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?


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

Index: libstdc++-v3/libsupc++/
RCS file: /cvs/gcc/gcc/libstdc++-v3/libsupc++/,v
retrieving revision 1.81
diff -u -p -r1.81
--- libstdc++-v3/libsupc++/	27 Jun 2002 10:16:46 -0000	1.81
+++ libstdc++-v3/libsupc++/	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)
 # 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]