summaryrefslogtreecommitdiff
path: root/testsuite/lib
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2012-10-30 07:07:19 -0400
committerAnthony Green <green@moxielogic.com>2012-10-30 07:36:49 -0400
commit58e8b66f70cef2e3c9b0e5a707b45d634cbbf5d9 (patch)
treec0b2e1c37724bb6600a297fdda3b7629275e0ac4 /testsuite/lib
parent6993a6686f43f2313b18142c1e96189a27db2aa3 (diff)
downloadlibffi-58e8b66f70cef2e3c9b0e5a707b45d634cbbf5d9.tar.gz
AArch64 port
Diffstat (limited to 'testsuite/lib')
-rw-r--r--testsuite/lib/libffi.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/lib/libffi.exp b/testsuite/lib/libffi.exp
index 4a65ed1..8ee3f15 100644
--- a/testsuite/lib/libffi.exp
+++ b/testsuite/lib/libffi.exp
@@ -203,6 +203,10 @@ proc libffi_target_compile { source dest type options } {
lappend options "libs= -lffi"
+ if { [string match "aarch64*-*-linux*" $target_triplet] } {
+ lappend options "libs= -lpthread"
+ }
+
verbose "options: $options"
return [target_compile $source $dest $type $options]
}