diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-10-09 13:59:27 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-10-09 14:01:55 +0100 |
commit | 7e7eef2a1bb45c61ee26936ccaab7159dcceca94 (patch) | |
tree | 246b034851951fdd46e91da22fa140dd718b617d /libstdc++-v3/scripts | |
parent | f9919ba717dfaf6018b7e625bebc84a461477b52 (diff) | |
download | gcc-7e7eef2a1bb45c61ee26936ccaab7159dcceca94.zip gcc-7e7eef2a1bb45c61ee26936ccaab7159dcceca94.tar.gz gcc-7e7eef2a1bb45c61ee26936ccaab7159dcceca94.tar.bz2 |
libstdc++: Pass CXXFLAGS to check_performance script
It looks like our check-performance target runs completely unoptimized,
which is a bit silly. This exports the CXXFLAGS from the parent make
process to the check_performance script.
libstdc++-v3/ChangeLog:
* scripts/check_performance: Use gnu++11 instead of gnu++0x.
* testsuite/Makefile.am (check-performance): Export CXXFLAGS to
child process.
* testsuite/Makefile.in: Regenerate.
Diffstat (limited to 'libstdc++-v3/scripts')
-rwxr-xr-x | libstdc++-v3/scripts/check_performance | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/scripts/check_performance b/libstdc++-v3/scripts/check_performance index 3fa9274..cde3874 100755 --- a/libstdc++-v3/scripts/check_performance +++ b/libstdc++-v3/scripts/check_performance @@ -32,7 +32,7 @@ SH_FLAG="-Wl,--rpath -Wl,$BUILD_DIR/../../gcc \ -Wl,--rpath -Wl,$BUILD_DIR/src/.libs" ST_FLAG="-static" LINK=$SH_FLAG -CXX="$COMPILER $INCLUDES $FLAGS -std=gnu++0x $CXXFLAGS $LINK" +CXX="$COMPILER $INCLUDES $FLAGS -std=gnu++11 $CXXFLAGS $LINK" LIBS="./libtestc++.a" TESTS_FILE="testsuite_files_performance" |