commit:     a3c20be17f9819a3a50a73627224eaa6aca694b1
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 19:52:48 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 20:40:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3c20be1

app-emulation/86Box: filter lto

Closes: https://bugs.gentoo.org/854507
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 app-emulation/86Box/86Box-3.6.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-emulation/86Box/86Box-3.6.ebuild 
b/app-emulation/86Box/86Box-3.6.ebuild
index 83e0de773c6f..78a19f937313 100644
--- a/app-emulation/86Box/86Box-3.6.ebuild
+++ b/app-emulation/86Box/86Box-3.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="Emulator of x86-based machines based on PCem"
 HOMEPAGE="https://github.com/86Box/86Box";
@@ -45,6 +45,10 @@ RDEPEND="
 BDEPEND="virtual/pkgconfig"
 
 src_configure() {
+       # LTO needs to be filtered
+       # See https://bugs.gentoo.org/854507
+       filter-lto
+
        local mycmakeargs=(
                -DCPPTHREADS="$(usex threads)"
                -DDEV_BRANCH="$(usex experimental)"

Reply via email to