Commit 79666abca87ac67d2d05b477a3ba71ec18b8af0c

Anthony Green 2016-02-20T06:38:40

Merge pull request #205 from filbranden/tool_opts Fix dejagnu test support for --tool_opts

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/testsuite/lib/libffi.exp b/testsuite/lib/libffi.exp
index 1b8b008..0d74627 100644
--- a/testsuite/lib/libffi.exp
+++ b/testsuite/lib/libffi.exp
@@ -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