Commit 5cb10347 by Benjamin Kosnik Committed by Benjamin Kosnik

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
parent 0563022a
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.
......
......@@ -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}
;;
......
......@@ -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"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment