gcc.exp (gcc_target_compile): Put braces around additional_flags=$TOOL_OPTIONS...
authorMatthew Sachs <msachs@apple.com>
Sat, 5 Mar 2005 00:27:04 +0000 (00:27 +0000)
committerMatthew Sachs <matthewg@gcc.gnu.org>
Sat, 5 Mar 2005 00:27:04 +0000 (00:27 +0000)
* gcc.exp (gcc_target_compile): Put braces around
additional_flags=$TOOL_OPTIONS; allows for whitespace in $TOOL_OPTIONS.
* objc.exp (objc_target_compile): Likewise.
* treelang.exp (treelang_target_compile): Likewise.

From-SVN: r95912

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

index bf945a09a5a0b7341c7d14dc8c5972e4ff18d6f2..e1c73dfb3ea231e11a67ef86eebb3e5f664d9da7 100644 (file)
@@ -1,3 +1,10 @@
+2005-03-04  Matthew Sachs  <msachs@apple.com>
+
+       * gcc.exp (gcc_target_compile): Put braces around
+       additional_flags=$TOOL_OPTIONS; allows for whitespace in $TOOL_OPTIONS.
+       * objc.exp (objc_target_compile): Likewise.
+       * treelang.exp (treelang_target_compile): Likewise.
+
 2005-03-04  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
 
        PR fortran/19673
index 2f55338766689218dbec6bc53dd0bdb7f9e16af6..f0dc240851c9dc530fe453d1319622ec41ddc0ca 100644 (file)
@@ -139,7 +139,7 @@ proc gcc_target_compile { source dest type options } {
     # TOOL_OPTIONS must come first, so that it doesn't override testcase
     # specific options.
     if [info exists TOOL_OPTIONS] {
-       set options [concat "additional_flags=$TOOL_OPTIONS" $options];
+       set options [concat "{additional_flags=$TOOL_OPTIONS}" $options];
     }
     if [target_info exists gcc,timeout] {
        lappend options "timeout=[target_info gcc,timeout]"
index c9e6161eb0bb4fd99408a632bd18f089a78905e2..5041b705e315553379ed34c02d9c6c6a776f1bb3 100644 (file)
@@ -162,7 +162,7 @@ proc objc_target_compile { source dest type options } {
     # TOOL_OPTIONS must come first, so that it doesn't override testcase
     # specific options.
     if [info exists TOOL_OPTIONS] {
-       set options [concat "additional_flags=$TOOL_OPTIONS" $options];
+       set options [concat "{additional_flags=$TOOL_OPTIONS}" $options];
     }
 
     # If we have built libobjc along with the compiler (which usually
index 9b225344f87452336656b7263c04c182df5d2d76..dfce3d88d2f0bfb8eef57df268b24e50572af9a7 100644 (file)
@@ -153,7 +153,7 @@ proc treelang_target_compile { source dest type options } {
     # TOOL_OPTIONS must come first, so that it doesn't override testcase
     # specific options.
     if [info exists TOOL_OPTIONS] {
-       set options [concat "additional_flags=$TOOL_OPTIONS" $options];
+       set options [concat "{additional_flags=$TOOL_OPTIONS}" $options];
     }
 
     # If we have built libtreelang along with the compiler (which usually