OSDN Git Service

* gcc.exp (gcc_target_compile): Put braces around
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / lib / gcc.exp
index 2f55338..f0dc240 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]"