summaryrefslogtreecommitdiff
path: root/libmudflap/testsuite/lib/libmudflap.exp
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-13 14:57:29 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-13 14:57:29 +0000
commit0c6d91a6db026bff0d29671746142b01c7c2f60a (patch)
tree133760b21836feaabf58e9e01a0522ecb4834652 /libmudflap/testsuite/lib/libmudflap.exp
parent6e71bd21bb8a410e95a8e675887030b0b8028b91 (diff)
downloadgcc-0c6d91a6db026bff0d29671746142b01c7c2f60a.tar.gz
* configure.ac: Don't create pth.
Check for library containing sched_yield. * configure: Regenerate. * config.h.in: Regenerate. * testsuite/lib/libmudflap.exp (libmudflap-init): Use mfconfig_libs in -static check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176237 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libmudflap/testsuite/lib/libmudflap.exp')
-rw-r--r--libmudflap/testsuite/lib/libmudflap.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmudflap/testsuite/lib/libmudflap.exp b/libmudflap/testsuite/lib/libmudflap.exp
index bd9327d1408..f9603553199 100644
--- a/libmudflap/testsuite/lib/libmudflap.exp
+++ b/libmudflap/testsuite/lib/libmudflap.exp
@@ -124,9 +124,11 @@ proc libmudflap-init { language } {
# If there is no static library then don't run tests with -static.
global tool
+ global mfconfig_libs
set opts "additional_flags=-static"
lappend opts "additional_flags=-fmudflap"
lappend opts "additional_flags=-lmudflap"
+ lappend opts "libs=$mfconfig_libs"
set src stlm[pid].c
set exe stlm[pid].x