summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2010-04-23 18:58:06 +0000
committerRaúl Porcel <armin76@gentoo.org>2010-04-23 18:58:06 +0000
commita50a749f78d0846ac6b4181f256c37509fb92e41 (patch)
tree205387b89e195196f0d61fb95c02555ea040e020 /eclass
parentMasked media-libs/mesa on Darwin as we should be using opengl-apple (diff)
downloadgentoo-2-a50a749f78d0846ac6b4181f256c37509fb92e41.tar.gz
gentoo-2-a50a749f78d0846ac6b4181f256c37509fb92e41.tar.bz2
gentoo-2-a50a749f78d0846ac6b4181f256c37509fb92e41.zip
Use hardfloat only if hardfloat is true
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 69efc6562852..5d5c9add34e5 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.422 2010/04/20 17:47:09 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.423 2010/04/23 18:58:06 armin76 Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1241,9 +1241,9 @@ gcc-compiler-configure() {
[[ ${arm_arch} == *eb ]] && arm_arch=${arm_arch%eb}
confgcc="${confgcc} --with-arch=${arm_arch}"
fi
-
+
# Enable hardvfp
- if [[ ${CTARGET##*-} == *eabi ]] && [[ $(tc-is-softfloat) == no ]] && \
+ if [[ ${CTARGET##*-} == *eabi ]] && [[ $(tc-is-hardfloat) == yes ]] && \
tc_version_is_at_least "4.5" ; then
confgcc="${confgcc} --with-float=hard"
fi