aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/lib
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/lib')
-rw-r--r--ld/testsuite/lib/ld-lib.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index 9333f52..d2ece76 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -29,6 +29,7 @@ load_common_lib binutils-common.exp
# Returns 0 otherwise.
#
proc at_least_gcc_version { major minor } {
+ global CC
if {![info exists CC]} {
set CC [find_gcc]