summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-02-19 12:36:34 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-02-19 12:36:34 +0000
commitfd63d3b404c29499bd8ab3a271fe7687d9ea5cd4 (patch)
tree5a9653ea5efdc2e8110a347af8bd9f30bc67b8d8
parent7406b7866936a6e4744ee130d95441442eb2efa8 (diff)
gcc-package.inc: Override SHLIBSDIR since gcc is a very special case
-rw-r--r--packages/gcc/gcc-package.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/gcc/gcc-package.inc b/packages/gcc/gcc-package.inc
index d1b4607de5..3d57d01113 100644
--- a/packages/gcc/gcc-package.inc
+++ b/packages/gcc/gcc-package.inc
@@ -12,6 +12,10 @@ PACKAGES = "libgcc ${PN} ${PN}-symlinks \
libstdc++-dev libg2c-dev \
${PN}-doc"
+# We really need HOST_SYS here for some packages and TARGET_SYS for others.
+# For now, libgcc is most important so we fix for that - RP.
+SHLIBSDIR = "${STAGING_DIR}/${TARGET_SYS}/shlibs"
+
FILES_${PN} = "${bindir}/${TARGET_PREFIX}gcc \
${bindir}/${TARGET_PREFIX}gccbug \
${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc1 \