testsuite_flags.in (--cxxflags): Let CXXFLAGS set -g -O2.

2012-03-23  Benjamin Kosnik  <bkoz@redhat.com>

	* scripts/testsuite_flags.in (--cxxflags): Let CXXFLAGS set -g -O2.
	* testsuite/lib/libstdc++.exp: Same.

From-SVN: r185744
This commit is contained in:
Benjamin Kosnik 2012-03-23 16:17:49 +00:00 committed by Benjamin Kosnik
parent 0563022a20
commit 5cb1034785
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2012-03-23 Benjamin Kosnik <bkoz@redhat.com>
* scripts/testsuite_flags.in (--cxxflags): Let CXXFLAGS set -g -O2.
* testsuite/lib/libstdc++.exp: Same.
2012-03-23 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/forward_list.h: Slightly tweak two comments.

View File

@ -54,7 +54,7 @@ case ${query} in
echo ${CC}
;;
--cxxflags)
CXXFLAGS_default="-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0"
CXXFLAGS_default="-D_GLIBCXX_ASSERT -fmessage-length=0"
CXXFLAGS_config="@SECTION_FLAGS@ @CXXFLAGS@ @EXTRA_CXX_FLAGS@"
echo ${CXXFLAGS_default} ${CXXFLAGS_config}
;;

View File

@ -212,7 +212,7 @@ proc libstdc++_init { testfile } {
# Default settings.
set cxx [transform "g++"]
set cxxflags "-g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0"
set cxxflags "-D_GLIBCXX_ASSERT -fmessage-length=0"
set cxxpchflags ""
set cxxldflags ""
set cc [transform "gcc"]