aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/linux-x86.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/linux-x86.exp')
-rw-r--r--ld/testsuite/ld-elf/linux-x86.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/linux-x86.exp b/ld/testsuite/ld-elf/linux-x86.exp
index b1cad61..6b0f23f 100644
--- a/ld/testsuite/ld-elf/linux-x86.exp
+++ b/ld/testsuite/ld-elf/linux-x86.exp
@@ -20,7 +20,7 @@
#
# Test very simple native Linux/x86 programs with linux-x86.S.
-if { ![isnative] || [which $CC] == 0 \
+if { ![isnative] || ![check_compiler_available] \
|| (![istarget "i?86-*-linux*"] \
&& ![istarget "x86_64-*-linux*"] \
&& ![istarget "amd64-*-linux*"]) } {