Commit e38f9c21 by Matthew Sachs Committed by Matthew Sachs

gcc.exp (gcc_target_compile): Put braces around additional_flags=$TOOL_OPTIONS...

* 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
parent f4e4284d
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> 2005-03-04 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/19673 PR fortran/19673
......
...@@ -139,7 +139,7 @@ proc gcc_target_compile { source dest type options } { ...@@ -139,7 +139,7 @@ proc gcc_target_compile { source dest type options } {
# TOOL_OPTIONS must come first, so that it doesn't override testcase # TOOL_OPTIONS must come first, so that it doesn't override testcase
# specific options. # specific options.
if [info exists TOOL_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] { if [target_info exists gcc,timeout] {
lappend options "timeout=[target_info gcc,timeout]" lappend options "timeout=[target_info gcc,timeout]"
......
...@@ -162,7 +162,7 @@ proc objc_target_compile { source dest type options } { ...@@ -162,7 +162,7 @@ proc objc_target_compile { source dest type options } {
# TOOL_OPTIONS must come first, so that it doesn't override testcase # TOOL_OPTIONS must come first, so that it doesn't override testcase
# specific options. # specific options.
if [info exists TOOL_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
......
...@@ -153,7 +153,7 @@ proc treelang_target_compile { source dest type options } { ...@@ -153,7 +153,7 @@ proc treelang_target_compile { source dest type options } {
# TOOL_OPTIONS must come first, so that it doesn't override testcase # TOOL_OPTIONS must come first, so that it doesn't override testcase
# specific options. # specific options.
if [info exists TOOL_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 # If we have built libtreelang along with the compiler (which usually
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment