diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2003-11-03 23:30:49 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2003-11-03 23:30:49 +0000 |
commit | ac22ede9b3ebfa7bcc274370ca80faacfb79ee80 (patch) | |
tree | bd09dc0cffdb1966490d996b61b088cedb000bb1 /sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild | |
parent | new release (diff) | |
download | gentoo-2-ac22ede9b3ebfa7bcc274370ca80faacfb79ee80.tar.gz gentoo-2-ac22ede9b3ebfa7bcc274370ca80faacfb79ee80.tar.bz2 gentoo-2-ac22ede9b3ebfa7bcc274370ca80faacfb79ee80.zip |
Enable building of 64bit apps on Sparc and Mips, closing bug #24631. Fix is an
modified one from Jason Wever <weeve@gentoo.org>.
Diffstat (limited to 'sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild')
-rw-r--r-- | sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild b/sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild index 9662c7e485b6..63c9410271de 100644 --- a/sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild +++ b/sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild,v 1.1 2003/10/26 19:01:06 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.6-r7.ebuild,v 1.2 2003/11/03 23:30:36 azarah Exp $ IUSE="nls bootstrap build" @@ -180,6 +180,17 @@ src_install() { ln -s ../${CHOST}/bin/${x} ${x} done + if [ -n "${PROFILE_ARCH}" ] && \ + [ "${PROFILE_ARCH/64}" != "${PROFILE_ARCH}" ] + then + dosym ${CHOST} /usr/${CHOST/-/64-} + + for x in `ls ${D}/usr/${CHOST/-/64-}/bin/` + do + dosym ../${CHOST/-/64-}/bin/${x} /usr/bin/${CHOST/-/64-}-${x} + done + fi + cd ${S} if [ -z "`use build`" ] then |