Skip to contentSkip to conversation

libgcc: Disable multilib install for nativesdk

PATCH New Constantin Musca 1 participant 1 message Feb 5, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libgcc: Disable multilib install for nativesdk

From: Khem Raj <[email protected]>

Fixes errors when building SDK for multilibbed enabled architectures.

[YOCTO #3832]

---
 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(-)
meta/recipes-devtools/gcc/gcc-4.7.inc +1 -1
index 2dc81f0..991f37c 100644
@@ -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
meta/recipes-devtools/gcc/libgcc_4.7.bb +1 -1
index 550a3c9..47669a2 100644
@@ -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)
Signature · 1 line
1.7.11.7