diff options
author | H.J. Lu <hjl@lucon.org> | 2008-01-22 19:36:58 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2008-01-22 19:36:58 +0000 |
commit | af7c319618c1a3421704a1b10bd90ae682fbdacf (patch) | |
tree | 9208ce9eb72590cdb82523fb2fc91348d7c004f8 /ld/testsuite/ld-gc | |
parent | b4aa12290b2bc6d96e971e225464730152c85cb0 (diff) | |
download | binutils-redhat-af7c319618c1a3421704a1b10bd90ae682fbdacf.tar.gz |
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
* ld-gc/gc.exp: Use [which $CC] != 0.
Diffstat (limited to 'ld/testsuite/ld-gc')
-rw-r--r-- | ld/testsuite/ld-gc/gc.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-gc/gc.exp b/ld/testsuite/ld-gc/gc.exp index acadcba38b..a15654f5bf 100644 --- a/ld/testsuite/ld-gc/gc.exp +++ b/ld/testsuite/ld-gc/gc.exp @@ -27,7 +27,7 @@ if ![check_gc_sections_available] { set cflags "-ffunction-sections -fdata-sections" set objfile "tmpdir/gc.o" -if { [is_remote host] || [which $CC] } { +if { [is_remote host] || [which $CC] != 0 } { ld_compile "$CC -c $CFLAGS $cflags" $srcdir/$subdir/gc.c $objfile } |