commit: 1fb33c231cb6d5e1892bdc8fb8f5a201f420c24e Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Sun Feb 5 04:19:36 2017 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sun Feb 5 04:19:36 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fb33c23
sys-boot/gnu-efi: filter -mfpmath=sse Gentoo-Bug: https://bugs.gentoo.org/607992 Package-Manager: Portage-2.3.3_p47_p631453, Repoman-2.3.1_p40_p631453 sys-boot/gnu-efi/gnu-efi-3.0.3.ebuild | 8 ++++++-- sys-boot/gnu-efi/gnu-efi-3.0.4.ebuild | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/sys-boot/gnu-efi/gnu-efi-3.0.3.ebuild b/sys-boot/gnu-efi/gnu-efi-3.0.3.ebuild index 741b506..96dae64 100644 --- a/sys-boot/gnu-efi/gnu-efi-3.0.3.ebuild +++ b/sys-boot/gnu-efi/gnu-efi-3.0.3.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 -inherit multilib toolchain-funcs +inherit flag-o-matic multilib toolchain-funcs DESCRIPTION="Library for build EFI Applications" HOMEPAGE="http://gnu-efi.sourceforge.net/" @@ -51,6 +51,10 @@ efimake() { src_compile() { tc-export BUILD_CC AR AS CC LD + + # https://bugs.gentoo.org/607992 + filter-mfpmath sse + if [[ ${CHOST} == x86_64* ]]; then use abi_x86_32 && CHOST=i686 ABI=x86 efimake use abi_x86_64 && efimake diff --git a/sys-boot/gnu-efi/gnu-efi-3.0.4.ebuild b/sys-boot/gnu-efi/gnu-efi-3.0.4.ebuild index 65873c6..205eaf0 100644 --- a/sys-boot/gnu-efi/gnu-efi-3.0.4.ebuild +++ b/sys-boot/gnu-efi/gnu-efi-3.0.4.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=6 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Library for build EFI Applications" HOMEPAGE="http://gnu-efi.sourceforge.net/" @@ -51,6 +51,10 @@ efimake() { src_compile() { tc-export BUILD_CC AR AS CC LD + + # https://bugs.gentoo.org/607992 + filter-mfpmath sse + if [[ ${CHOST} == x86_64* ]]; then use abi_x86_32 && CHOST=i686 ABI=x86 efimake use abi_x86_64 && efimake