objc.exp (objc_libgcc_s_path): Set objc_libgcc_s_path instead of appending to it.
authorRichard Sandiford <rsandifo@nildram.co.uk>
Sat, 29 Dec 2007 15:14:16 +0000 (15:14 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sat, 29 Dec 2007 15:14:16 +0000 (15:14 +0000)
gcc/testsuite/
* lib/objc.exp (objc_libgcc_s_path): Set objc_libgcc_s_path
instead of appending to it.

From-SVN: r131219

gcc/testsuite/ChangeLog
gcc/testsuite/lib/objc.exp

index 207325a..7dd4fc0 100644 (file)
@@ -1,3 +1,8 @@
+2007-12-29  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * lib/objc.exp (objc_libgcc_s_path): Set objc_libgcc_s_path
+       instead of appending to it.
+
 2007-12-27  Dorit Nuzman  <dorit@il.ibm.com>
 
        PR tree-optimization/34591
index 3f02571..37e2a3f 100644 (file)
@@ -115,7 +115,7 @@ proc objc_init { args } {
 
     objc_maybe_build_wrapper "${tmpdir}/objc-testglue.o"
 
-    append objc_libgcc_s_path [gcc-set-multilib-library-path $OBJC_UNDER_TEST]
+    set objc_libgcc_s_path [gcc-set-multilib-library-path $OBJC_UNDER_TEST]
 }
 
 proc objc_target_compile { source dest type options } {