diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-02 07:11:55 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-02 07:11:55 +0000 |
commit | 3f7a83a43c4aa73559f71840d2936adb973cebd1 (patch) | |
tree | 51615ac2cdc41a29630706c5602f122271b4ea10 /eclass | |
parent | Let command line arguments override those set by . See bug #78652. (diff) | |
download | gentoo-2-3f7a83a43c4aa73559f71840d2936adb973cebd1.tar.gz gentoo-2-3f7a83a43c4aa73559f71840d2936adb973cebd1.tar.bz2 gentoo-2-3f7a83a43c4aa73559f71840d2936adb973cebd1.zip |
Switch from using MULTILIB_ABIS directly to using multilib.eclass functions. Add gcjh and gfortran to the list of gcc binaries.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 5d90bc148483..f3b2f338bc70 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.99 2005/01/31 07:50:38 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.100 2005/02/02 07:11:55 eradicator Exp $ HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" LICENSE="GPL-2 LGPL-2.1" @@ -1309,7 +1309,7 @@ gcc-compiler_src_install() { # These should be symlinks cd "${D}"${BINPATH} - for x in gcc g++ c++ g77 gcj ; do + for x in gcc g++ c++ g77 gcj gcjh gfortran; do # For some reason, g77 gets made instead of ${CTARGET}-g77... this makes it safe [[ -f ${x} ]] && mv ${x} ${CTARGET}-${x} @@ -1372,8 +1372,8 @@ gcc_movelibs() { #FROMDIR=${D}/${PREFIX}/libexec/gcc/${CTARGET}/${GCC_RELEASE_VER} #[ -d "${FROMDIR}" ] && mv ${FROMDIR}/* ${FROMDIR}/../ - if [ -n "${MULTILIB_ABIS}" ]; then - for abi in ${MULTILIB_ABIS}; do + if has_multilib_profile; then + for abi in $(get_abi_order); do local OS_MULTIDIR=$(${XGCC} $(get_abi_CFLAGS ${abi}) --print-multi-os-directory) local MULTIDIR=$(${XGCC} $(get_abi_CFLAGS ${abi}) --print-multi-directory) local TODIR=${D}/${LIBPATH}/${MULTIDIR} |