aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/scripts
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2004-01-07 05:59:19 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2004-01-07 05:59:19 +0000
commitb61f9bf03987313ca692b4f3c51d801e6aae97c6 (patch)
treec605d639de8ec555b54c8e512c073f770fccb57e /libstdc++-v3/scripts
parent9a01c9b061ea6ac729730ac9d4999e4d60c4df3d (diff)
downloadgcc-b61f9bf03987313ca692b4f3c51d801e6aae97c6.zip
gcc-b61f9bf03987313ca692b4f3c51d801e6aae97c6.tar.gz
gcc-b61f9bf03987313ca692b4f3c51d801e6aae97c6.tar.bz2
check_performance: Use -pthread.
2004-01-06 Benjamin Kosnik <bkoz@redhat.com> Stefan Olsson <stefan@snon.net> * scripts/check_performance: Use -pthread. * testsuite/performance/allocator.cc: Tweaks, add list. * testsuite/performance/allocator_thread.cc: New. Co-Authored-By: Stefan Olsson <stefan@snon.net> From-SVN: r75499
Diffstat (limited to 'libstdc++-v3/scripts')
-rwxr-xr-xlibstdc++-v3/scripts/check_performance3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/scripts/check_performance b/libstdc++-v3/scripts/check_performance
index 5fdf581..5865114 100755
--- a/libstdc++-v3/scripts/check_performance
+++ b/libstdc++-v3/scripts/check_performance
@@ -25,12 +25,13 @@ esac
flags_script=$BUILD_DIR/scripts/testsuite_flags
INCLUDES=`$flags_script --build-includes`
FLAGS=`$flags_script --cxxflags`
+THREAD_FLAG='-pthread'
COMPILER=`$flags_script --build-cxx`
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 $LINK"
+CXX="$COMPILER $INCLUDES $FLAGS $THREAD_FLAG $LINK"
TESTS_FILE="testsuite_files_performance"