diff options
author | Anthony Green <green@moxielogic.com> | 2012-10-30 07:07:19 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2012-10-30 07:36:49 -0400 |
commit | 58e8b66f70cef2e3c9b0e5a707b45d634cbbf5d9 (patch) | |
tree | c0b2e1c37724bb6600a297fdda3b7629275e0ac4 /testsuite/lib | |
parent | 6993a6686f43f2313b18142c1e96189a27db2aa3 (diff) | |
download | libffi-58e8b66f70cef2e3c9b0e5a707b45d634cbbf5d9.tar.gz |
AArch64 port
Diffstat (limited to 'testsuite/lib')
-rw-r--r-- | testsuite/lib/libffi.exp | 4 |
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] } |