diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-09-29 23:12:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-09-29 23:12:21 +0000 |
commit | 65a4e503ccd32f24192a9bdf6fc1fc584eeb00f4 (patch) | |
tree | 13225d3e25e9b83761d9afff0f3693ed3ef1057b /eclass | |
parent | Stable on alpha wrt Bug #131785. (diff) | |
download | historical-65a4e503ccd32f24192a9bdf6fc1fc584eeb00f4.tar.gz historical-65a4e503ccd32f24192a9bdf6fc1fc584eeb00f4.tar.bz2 historical-65a4e503ccd32f24192a9bdf6fc1fc584eeb00f4.zip |
allow people to use -foo_softfloat- for softfloat targets
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 8fdbc10a3c5f..878e76e0f5ce 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.311 2006/09/28 11:54:41 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.312 2006/09/29 23:12:21 vapier Exp $ HOMEPAGE="http://gcc.gnu.org/" LICENSE="GPL-2 LGPL-2.1" @@ -1230,7 +1230,7 @@ gcc_do_configure() { # ppc altivec support confgcc="${confgcc} $(use_enable altivec)" - [[ ${CTARGET} == *-softfloat-* ]] && confgcc="${confgcc} --with-float=soft" + [[ ${CTARGET//_/-} == *-softfloat-* ]] && confgcc="${confgcc} --with-float=soft" # Native Language Support if use nls && ! use build ; then |