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]

[libstdc++] Testsuite should pay attention to extra flags



If the user decides to build the library with extra compiler options
via --enable-cxx-flags, the testsuite should (by default) use those same
options when running.  Verified by passing strange things via --enable
and watching their effects on the testsuite.



2002-04-17  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite_flags.in (cxxflags):  Also pass @EXTRA_CXX_FLAGS@.


Index: testsuite_flags.in
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite_flags.in,v
retrieving revision 1.11
diff -u -3 -p -r1.11 testsuite_flags.in
--- testsuite_flags.in	7 Jan 2002 00:07:27 -0000	1.11
+++ testsuite_flags.in	18 Apr 2002 01:34:43 -0000
@@ -49,7 +49,7 @@ case ${query} in
       ;;
     --cxxflags)
       CXXFLAGS=' -g @SECTION_FLAGS@ @SECTION_LDFLAGS@
-		 -fmessage-length=0
+		 -fmessage-length=0 @EXTRA_CXX_FLAGS@
 		 -DDEBUG_ASSERT  -DLOCALEDIR="@glibcpp_localedir@" '
       echo ${CXXFLAGS}
       ;;


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