summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2013-07-30 18:13:11 -0700
committerBenjamin Kosnik <bkoz@redhat.com>2013-07-30 18:13:11 -0700
commit9ccdf91eb2b0bf09807c95ac920465f466aea09b (patch)
treea10309256a2449663f8140a6092f2dbaf69993a7
parent7ae238e7a028b1fa6c5a64dae8dc1e3d40f98fa8 (diff)
downloadgcc-9ccdf91eb2b0bf09807c95ac920465f466aea09b.tar.gz
2013-07-30 Benjamin Kosnik <bkoz@redhat.com>
* scripts/run-testsuite.sh (CXX): From VTV_CXXLINKFLAGS.
-rw-r--r--libvtv/ChangeLog4
-rwxr-xr-xlibvtv/scripts/run-testsuite.sh2
2 files changed, 5 insertions, 1 deletions
diff --git a/libvtv/ChangeLog b/libvtv/ChangeLog
index c968a0d4644..222fb2ed2fe 100644
--- a/libvtv/ChangeLog
+++ b/libvtv/ChangeLog
@@ -1,3 +1,7 @@
+2013-07-30 Benjamin Kosnik <bkoz@redhat.com>
+
+ * scripts/run-testsuite.sh (CXX): From VTV_CXXLINKFLAGS.
+
2013-07-30 Caroline Tice <cmtice@google.com>
Benjamin Kosnik <bkoz@redhat.com>
diff --git a/libvtv/scripts/run-testsuite.sh b/libvtv/scripts/run-testsuite.sh
index 78572af3c34..a02ce1562e6 100755
--- a/libvtv/scripts/run-testsuite.sh
+++ b/libvtv/scripts/run-testsuite.sh
@@ -17,7 +17,7 @@ shift
flags_script=$BUILD_DIR/../libstdc++-v3/scripts/testsuite_flags
INCLUDES=`$flags_script --build-includes`
COMPILER=`$flags_script --build-cxx`
-CXX="$COMPILER $INCLUDES -L$BUILD_DIR/.libs"
+CXX="$COMPILER $INCLUDES -L$BUILD_DIR/.libs -Wl,--rpath -Wl,$BUILD_DIR/.libs"
echo "compiler config is:"
echo $CXX