mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 11:24:05 +08:00
testsuite_flags.in (cxxflags): Remove @CXXFLAGS@ since libstdc++.exp imports those flags via getenv.
2014-05-20 Cesar Philippidis <cesar@codesourcery.com> libstdc++-v3/ * scripts/testsuite_flags.in (cxxflags): Remove @CXXFLAGS@ since libstdc++.exp imports those flags via getenv. * testsuite/lib/libstdc++.exp (libstdc++_init): Ensure that CXXFLAGS contains a '-O' flag. From-SVN: r210659
This commit is contained in:
parent
ec27069c86
commit
6ed9c90a5d
@ -1,3 +1,10 @@
|
||||
2014-05-20 Cesar Philippidis <cesar@codesourcery.com>
|
||||
|
||||
* scripts/testsuite_flags.in (cxxflags): Remove @CXXFLAGS@ since
|
||||
libstdc++.exp imports those flags via getenv.
|
||||
* testsuite/lib/libstdc++.exp (libstdc++_init): Ensure that
|
||||
CXXFLAGS contains a '-O' flag.
|
||||
|
||||
2014-05-20 Alexey Merzlyakov <alexey.merzlyakov@samsung.com>
|
||||
|
||||
PR libstdc++/61223
|
||||
|
@ -57,7 +57,7 @@ case ${query} in
|
||||
;;
|
||||
--cxxflags)
|
||||
CXXFLAGS_default="-D_GLIBCXX_ASSERT -fmessage-length=0"
|
||||
CXXFLAGS_config="@SECTION_FLAGS@ @CXXFLAGS@ @EXTRA_CXX_FLAGS@"
|
||||
CXXFLAGS_config="@SECTION_FLAGS@ @EXTRA_CXX_FLAGS@"
|
||||
echo ${CXXFLAGS_default} ${CXXFLAGS_config}
|
||||
;;
|
||||
--cxxvtvflags)
|
||||
|
@ -282,6 +282,11 @@ proc libstdc++_init { testfile } {
|
||||
}
|
||||
append cxxflags " "
|
||||
append cxxflags [getenv CXXFLAGS]
|
||||
|
||||
if ![regexp "\-O" $cxxflags] {
|
||||
append cxxflags " -g -O2"
|
||||
}
|
||||
|
||||
v3track cxxflags 2
|
||||
|
||||
# Always use MO files built by this test harness.
|
||||
|
Loading…
Reference in New Issue
Block a user