summaryrefslogtreecommitdiff
path: root/sys-devel/gcc/gcc-4.8.4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/gcc/gcc-4.8.4.ebuild')
-rw-r--r--sys-devel/gcc/gcc-4.8.4.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys-devel/gcc/gcc-4.8.4.ebuild b/sys-devel/gcc/gcc-4.8.4.ebuild
index 9b3359b3..dabac427 100644
--- a/sys-devel/gcc/gcc-4.8.4.ebuild
+++ b/sys-devel/gcc/gcc-4.8.4.ebuild
@@ -49,9 +49,9 @@ src_prepare() {
src_install() {
toolchain_src_install
# drop base gcc libraries, they're provided by sys-devel/base-gcc-${PV}
- export local libdir="${D}usr/lib/gcc/$(uname -m)-pc-linux-gnu/${PV}"
+ export local libdir="${D}usr/lib/gcc/${CHOST}/${PV}"
if use multilib ; then
- export local multilibdir="${D}usr/lib/gcc/$(uname -m)-pc-linux-gnu/${PV}/32"
+ export local multilibdir="${D}usr/lib/gcc/${CHOST}/${PV}/32"
fi
# if we remove whole libdir, headers are gone, so remove only libs and their symlinks
@@ -111,3 +111,11 @@ src_install() {
export local envdir="${D}etc"
rm -rf "$envdir"
}
+
+pkg_preinst() {
+ :
+}
+
+pkg_postinst() {
+ :
+}