]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 22 Jan 2008 19:36:58 +0000 (19:36 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 22 Jan 2008 19:36:58 +0000 (19:36 +0000)
* ld-gc/gc.exp: Use [which $CC] != 0.

ld/testsuite/ChangeLog
ld/testsuite/ld-gc/gc.exp

index 8fd1852083b6a2227a2b93029e37de721c635675..ec2971ae731d8985e86346ba19a00709fdbf5c35 100644 (file)
@@ -1,3 +1,7 @@
+2008-01-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ld-gc/gc.exp: Use [which $CC] != 0.
+
 2008-01-14  Tristan Gingold  <gingold@adacore.com>
 
        * ld-gc/gc.exp (test_gc): Let missing C compiler make tests
index acadcba38b7e68f0d43ebc7d230d106bb6a93aeb..a15654f5bf388bcd7cb0cbc988357c11dc891042 100644 (file)
@@ -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
 }