summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorLei Liu <layliu@gmail.com>2013-11-11 12:43:51 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-12 16:00:28 +0000
commite2ea549f10c2be763dd640a6fda69527af2bc312 (patch)
tree5dd57c3bb6057d1654de291210c72032ae637fe2 /meta/recipes-devtools
parentc7a80e429e9bb989c514e00e978f19554f2ed94a (diff)
downloadpoky-e2ea549f10c2be763dd640a6fda69527af2bc312.tar.gz
gcc-common: Enable building multiarch mips gcc
MIPS gcc is not configured with multiarch enabled. This causes compiler generates local label with $ prefix, which is specified in default o32 abi. It is not recognized as local symbol by n64 assembler, so we get a lot of unexpected external symbols. We should configure MIPS gcc with --enable-targets=all, as for other archs. (From OE-Core rev: c210393b3e0c54606493e311d7c2040efebc4dcd) Signed-off-by: Lei Liu <lei.liu2@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index 4f691a090c..dcb22babdf 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -28,6 +28,7 @@ def get_gcc_multiarch_setting(bb, d):
28 multiarch_options = { 28 multiarch_options = {
29 "i586": "--enable-targets=all", 29 "i586": "--enable-targets=all",
30 "powerpc": "--enable-targets=powerpc64", 30 "powerpc": "--enable-targets=powerpc64",
31 "mips": "--enable-targets=all",
31 "sparc": "--enable-targets=all", 32 "sparc": "--enable-targets=all",
32 } 33 }
33 34