sys-boot/gnu-efi: filter -mfpmath=sse
authorMike Gilbert <floppym@gentoo.org>
Sun, 5 Feb 2017 04:19:36 +0000 (23:19 -0500)
committerMike Gilbert <floppym@gentoo.org>
Sun, 5 Feb 2017 04:19:36 +0000 (23:19 -0500)
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
sys-boot/gnu-efi/gnu-efi-3.0.4.ebuild

index 741b506373d1bb8827f328301113186e3bf5caed..96dae6470226ddad59b2a8059c7f67231c1c2a77 100644 (file)
@@ -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
index 65873c623768913413f46ead9c8603961033a415..205eaf09a2f9ab134609eba63d359a37278dae0e 100644 (file)
@@ -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