aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cygwin/exe-export.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-cygwin/exe-export.exp')
-rw-r--r--ld/testsuite/ld-cygwin/exe-export.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-cygwin/exe-export.exp b/ld/testsuite/ld-cygwin/exe-export.exp
index 258949e..5436332 100644
--- a/ld/testsuite/ld-cygwin/exe-export.exp
+++ b/ld/testsuite/ld-cygwin/exe-export.exp
@@ -29,7 +29,7 @@ if {![istarget *-pc-cygwin]} {
}
# No compiler, no test.
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
untested "Exe export test (no compiler available)"
return
}