public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] libgcc: Disable multilib install for nativesdk
@ 2013-02-05  9:58 Constantin Musca
  0 siblings, 0 replies; only message in thread
From: Constantin Musca @ 2013-02-05  9:58 UTC (permalink / raw)
  To: openembedded-core

From: Khem Raj <raj.khem@gmail.com>

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>
---
 meta/recipes-devtools/gcc/gcc-4.7.inc   | 2 +-
 meta/recipes-devtools/gcc/libgcc_4.7.bb | 2 +-
 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 2dc81f0..991f37c 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 550a3c9..47669a2 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)
-- 
1.7.11.7




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-05 10:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-05  9:58 [PATCH] libgcc: Disable multilib install for nativesdk Constantin Musca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox