summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-02-05 11:58:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-05 10:35:48 +0000
commit09934f38df057e12af7d14791f7ab752e81093db (patch)
treeb66424e4fcead7aaf24271262b2c1e3de0d490ed
parent3b1beb8b15b8e3e397b3aa8320490103d4f29bac (diff)
downloadopenembedded-core-09934f38df057e12af7d14791f7ab752e81093db.tar.gz
openembedded-core-09934f38df057e12af7d14791f7ab752e81093db.tar.bz2
openembedded-core-09934f38df057e12af7d14791f7ab752e81093db.zip
libgcc: Disable multilib install for nativesdk
Fixes errors when building SDK for multilibbed enabled architectures. [YOCTO #3832] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.7.inc2
-rw-r--r--meta/recipes-devtools/gcc/libgcc_4.7.bb2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes-devtools/gcc/gcc-4.7.inc
index 2dc81f0543..991f37c21c 100644
--- a/meta/recipes-devtools/gcc/gcc-4.7.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.7.inc
@@ -1,6 +1,6 @@
require gcc-common.inc
-PR = "r16"
+PR = "r17"
# Third digit in PV should be incremented after a minor release
# happens from this branch on gcc e.g. currently its 4.7.1
diff --git a/meta/recipes-devtools/gcc/libgcc_4.7.bb b/meta/recipes-devtools/gcc/libgcc_4.7.bb
index 550a3c9c9d..47669a210c 100644
--- a/meta/recipes-devtools/gcc/libgcc_4.7.bb
+++ b/meta/recipes-devtools/gcc/libgcc_4.7.bb
@@ -86,7 +86,7 @@ python do_multilib_install() {
import re
multilibs = d.getVar('MULTILIB_VARIANTS', True)
- if not multilibs:
+ if not multilibs or bb.data.inherits_class('nativesdk', d):
return
binv = d.getVar('BINV', True)