aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/x86-64.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/x86-64.exp')
-rw-r--r--ld/testsuite/ld-x86-64/x86-64.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
index 8d4ed2c..2cb1891 100644
--- a/ld/testsuite/ld-x86-64/x86-64.exp
+++ b/ld/testsuite/ld-x86-64/x86-64.exp
@@ -204,8 +204,8 @@ run_dump_test "lp64-1"
run_dump_test "lp64-2"
run_dump_test "lp64-3"
-# Need the C compiler
-if { [which $CC] != 0 } {
+# Must be native with the C compiler
+if { [isnative] && [which $CC] != 0 } {
run_cc_link_tests {
{"Helper X32 DSO from x86-64 object" "" "-m64 -fPIC -g"
{simple.c} {} "libsimple.a"}