aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/target.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c2cd3e..b91c825 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-26 H.J. Lu <hjl.tools@gmail.com>
+
+ * lib/target.exp (default_target_compile): Prepend multilib_flags,
+ instead of appending it.
+
2015-02-18 Ben Elliston <bje@gnu.org>
* lib/framework.exp (log_and_exit): Set tool to "testrun" if
diff --git a/lib/target.exp b/lib/target.exp
index 71a78c7..30e4585 100644
--- a/lib/target.exp
+++ b/lib/target.exp
@@ -577,7 +577,7 @@ proc default_target_compile {source destfile type options} {
}
if {[board_info $dest exists multilib_flags]} {
- append add_flags " [board_info $dest multilib_flags]"
+ set add_flags "[board_info $dest multilib_flags] $add_flags"
}
verbose "doing compile"