Add support for hardfloat toolchains, acked by vapier
authorRaúl Porcel <armin76@gentoo.org>
Sun, 25 Apr 2010 18:04:48 +0000 (18:04 +0000)
committerRaúl Porcel <armin76@gentoo.org>
Sun, 25 Apr 2010 18:04:48 +0000 (18:04 +0000)
eclass/toolchain.eclass

index 5c2d2c2315bac5728e3ed6b040c27496c0182216..66501fae9a95625e8493fac72bf1d8d0476f089f 100644 (file)
@@ -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.424 2010/04/24 23:53:14 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.425 2010/04/25 18:04:48 armin76 Exp $
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 
@@ -1359,6 +1359,7 @@ gcc_do_configure() {
 
 
        [[ $(tc-is-softfloat) == "yes" ]] && confgcc="${confgcc} --with-float=soft"
+       [[ $(tc-is-hardfloat) == "yes" ]] && confgcc="${confgcc} --with-float=hard"
 
        # Native Language Support
        if use nls ; then