summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-common.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-09-24 15:24:42 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-25 09:34:51 +0100
commit9327ca868667b15f29af3123611d6f56b4249a63 (patch)
tree26e4dfd738437ba390a33003656ff24b96a51fe0 /meta/recipes-devtools/gcc/gcc-common.inc
parent917f57cbb0906996661eebc6656c2c083ef979e9 (diff)
downloadopenembedded-core-9327ca868667b15f29af3123611d6f56b4249a63.tar.gz
openembedded-core-9327ca868667b15f29af3123611d6f56b4249a63.tar.bz2
openembedded-core-9327ca868667b15f29af3123611d6f56b4249a63.zip
gcc-common.inc: Consider multilib when renaming libgcc for debian'ness
When doing multilib builds rpm does not find libgcc1 for lib32 multilib because its not honoring the debian renaming scheme for libgcc-multilib. Lets add MLPREFIX to fix it. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-common.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc
index 3b0001789f..38f3b7f959 100644
--- a/meta/recipes-devtools/gcc/gcc-common.inc
+++ b/meta/recipes-devtools/gcc/gcc-common.inc
@@ -40,7 +40,7 @@ def get_gcc_multiarch_setting(bb, d):
# For now, libgcc is most important so we fix for that - RP.
SHLIBSDIR = "${STAGING_DIR_TARGET}/shlibs"
-DEBIANNAME_libgcc = "libgcc1"
+DEBIANNAME_${MLPREFIX}libgcc = "libgcc1"
MIRRORS =+ "\
${GNU_MIRROR}/gcc ftp://gcc.gnu.org/pub/gcc/releases/ \n \