diff options
author | 2005-08-05 02:15:14 +0000 | |
---|---|---|
committer | 2005-08-05 02:15:14 +0000 | |
commit | bba302e4b133e2fe880fdab36a80437b65cfb467 (patch) | |
tree | 889207ac4c6bb333a93b9f7ec951cafa434ee9b6 /eclass | |
parent | Restrict tests. (diff) | |
download | gentoo-2-bba302e4b133e2fe880fdab36a80437b65cfb467.tar.gz gentoo-2-bba302e4b133e2fe880fdab36a80437b65cfb467.tar.bz2 gentoo-2-bba302e4b133e2fe880fdab36a80437b65cfb467.zip |
add support for softfloat toolchains #75585 by Yuri Vasilevski
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 9efa9bb40684..b04ab064dcd9 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.177 2005/07/15 03:08:45 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.178 2005/08/05 02:15:14 vapier Exp $ HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" LICENSE="GPL-2 LGPL-2.1" @@ -1060,6 +1060,8 @@ gcc_do_configure() { # ppc altivec support confgcc="${confgcc} $(use_enable altivec)" + [[ ${CTARGET} == *-softfloat-* ]] && confgcc="${confgcc} --with-float=soft" + # Native Language Support if use nls && ! use build ; then confgcc="${confgcc} --enable-nls --without-included-gettext" |