summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-29 23:12:21 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-29 23:12:21 +0000
commitbf2af8b900671eda450c1b7b22f1104531f7ab9c (patch)
tree9a950516398791c2bcc7f82516466fa6bf40b0ab /eclass
parentStable on alpha wrt Bug #131785. (diff)
downloadgentoo-2-bf2af8b900671eda450c1b7b22f1104531f7ab9c.tar.gz
gentoo-2-bf2af8b900671eda450c1b7b22f1104531f7ab9c.tar.bz2
gentoo-2-bf2af8b900671eda450c1b7b22f1104531f7ab9c.zip
allow people to use -foo_softfloat- for softfloat targets
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
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