Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | From 817aed0d755bf8c0ba4ef6a77d41538e50b571fd Mon Sep 17 00:00:00 2001 |
| 2 | From: claymore <carlosmf.pt@gmail.com> |
| 3 | Date: Fri, 24 Apr 2015 02:28:47 +0100 |
| 4 | Subject: [PATCH 1/2] mips1 fix added gcc.jam was passing the options -m32 and |
| 5 | -m64 to mips cross-compilers, when those do not use |
| 6 | such options This modification solves it by adding mips |
| 7 | as an exception |
| 8 | |
| 9 | Signed-off-by: Carlos M. Ferreira carlosmf.pt@gmail.com |
| 10 | |
| 11 | Upstream-Status: Backport |
| 12 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
| 13 | |
| 14 | --- |
| 15 | tools/build/src/tools/gcc.jam | 2 +- |
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 17 | |
| 18 | diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam |
| 19 | index db04534..eff95ae 100644 |
| 20 | --- a/tools/build/src/tools/gcc.jam |
| 21 | +++ b/tools/build/src/tools/gcc.jam |
| 22 | @@ -451,7 +451,7 @@ rule setup-address-model ( targets * : sources * : properties * ) |
| 23 | else |
| 24 | { |
| 25 | local arch = [ feature.get-values architecture : $(properties) ] ; |
| 26 | - if $(arch) != arm |
| 27 | + if $(arch) != arm && $(arch) != mips1 |
| 28 | { |
| 29 | if $(model) = 32 |
| 30 | { |
| 31 | -- |
| 32 | 1.7.9.5 |
| 33 | |