Merge pull request #205 from filbranden/tool_opts

Fix dejagnu test support for --tool_opts
This commit is contained in:
Anthony Green
2016-02-20 06:38:40 -05:00

View File

@@ -182,7 +182,7 @@ proc libffi_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] {
lappend options [concat "additional_flags=$TOOL_OPTIONS" $options];
lappend options "additional_flags=$TOOL_OPTIONS"
}
# search for ffi_mips.h in srcdir, too