From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SVFIM-0007Ym-8T for garchives@archives.gentoo.org; Fri, 18 May 2012 05:00:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59F26E080B; Fri, 18 May 2012 04:59:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2B1A2E080B for ; Fri, 18 May 2012 04:59:58 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8B9271B4012 for ; Fri, 18 May 2012 04:59:57 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 559) id B8AE620047; Fri, 18 May 2012 04:59:55 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: toolchain.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: toolchain.eclass X-VCS-Directories: eclass X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: <20120518045955.B8AE620047@flycatcher.gentoo.org> Date: Fri, 18 May 2012 04:59:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 786def92-c5bc-489c-b392-c4cbd3c7ea61 X-Archives-Hash: 5f4e1ffab865810716ac1ed3b8e39476 vapier 12/05/18 04:59:55 Modified: toolchain.eclass Log: only default armv7 to vfpv3-d16. default armv6 to vfp, but otherwise, = keep the rest defaulting to softfloat. #415937 by jannis Revision Changes Path 1.538 eclass/toolchain.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.e= class?rev=3D1.538&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.e= class?rev=3D1.538&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.e= class?r1=3D1.537&r2=3D1.538 Index: toolchain.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v retrieving revision 1.537 retrieving revision 1.538 diff -u -r1.537 -r1.538 --- toolchain.eclass 15 May 2012 18:51:21 -0000 1.537 +++ toolchain.eclass 18 May 2012 04:59:55 -0000 1.538 @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.537 2012/= 05/15 18:51:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.538 2012/= 05/18 04:59:55 vapier Exp $ # # Maintainer: Toolchain Ninjas =20 @@ -960,13 +960,16 @@ fi =20 # Enable hardvfp - if [[ ${CTARGET##*-} =3D=3D *eabi* ]] && \ - [[ $(tc-is-hardfloat) =3D=3D yes ]] && \ + if [[ $(tc-is-softfloat) =3D=3D no ]] && \ + [[ ${CTARGET} =3D=3D armv[67]* ]] && \ tc_version_is_at_least "4.5" then - confgcc+=3D" --with-float=3Dhard" # Follow the new arm hardfp distro standard by default - confgcc+=3D" --with-fpu=3Dvfpv3-d16" + confgcc+=3D" --with-float=3Dhard" + case ${CTARGET} in + armv6*) confgcc+=3D" --with-fpu=3Dvfp" ;; + armv7*) confgcc+=3D" --with-fpu=3Dvfpv3-d16" ;; + esac fi ;; # Add --with-abi flags to set default ABI