diff options
author | Mike Frysinger <vapier@gentoo.org> | 2014-11-15 08:45:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-11-15 08:45:33 +0000 |
commit | 27946e5ebc153bb4b24130b9299ac2b5675fbba7 (patch) | |
tree | 175be6c4e001257117952742585eba62907e9fa6 /eclass | |
parent | Fix install on x86 of headers when headers were removed #527548 by Alex Cannon. (diff) | |
download | historical-27946e5ebc153bb4b24130b9299ac2b5675fbba7.tar.gz historical-27946e5ebc153bb4b24130b9299ac2b5675fbba7.tar.bz2 historical-27946e5ebc153bb4b24130b9299ac2b5675fbba7.zip |
enbale --with-float=hard for arm eabihf tuples #528278
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 9ac8fab83fe9..1345b5eb8301 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.646 2014/11/04 08:04:00 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.647 2014/11/15 08:45:33 vapier Exp $ # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> @@ -1040,9 +1040,9 @@ toolchain_src_configure() { *) # If they've explicitly opt-ed in, do hardfloat, # otherwise let the gcc default kick in. - [[ ${CTARGET//_/-} == *-hardfloat-* ]] \ - && confgcc+=( --with-float=hard ) - ;; + case ${CTARGET//_/-} in + *-hardfloat-*|*eabihf) confgcc+=( --with-float=hard ) ;; + esac esac local with_abi_map=() |