media-libs/openexr: Strip lto flag
authorCraig Andrews <candrews@gentoo.org>
Sat, 24 Mar 2018 01:23:08 +0000 (21:23 -0400)
committerCraig Andrews <candrews@gentoo.org>
Mon, 26 Mar 2018 13:51:17 +0000 (09:51 -0400)
Closes: https://bugs.gentoo.org/650876
Package-Manager: Portage-2.3.24, Repoman-2.3.6

media-libs/openexr/openexr-2.2.0-r2.ebuild

index 4ae6430d82e631da00201bc6d42d9ce722249e5e..8f9775ff2e709ecbcf831b4b488f35c09397c52d 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit autotools multilib-minimal
+inherit autotools flag-o-matic multilib-minimal
 
 DESCRIPTION="ILM's OpenEXR high dynamic-range image file format libraries"
 HOMEPAGE="http://openexr.com/"
@@ -43,6 +43,9 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+       # Fails to build with lto, https://bugs.gentoo.org/650876
+       filter-flags -flto*
+
        ECONF_SOURCE="${S}" econf \
                --enable-threading \
                $(use_enable cpu_flags_x86_avx avx) \