OSDN Git Service

* gcc.exp (gcc_target_compile): Put braces around
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / lib / objc.exp
index c9e6161..5041b70 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] {
     # 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
     }
 
     # If we have built libobjc along with the compiler (which usually