commit:     2e558dc4ed09b71c9114b35e183eedcfd2b5bc61
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Mon Sep 26 21:33:36 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 27 21:42:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e558dc4

app-crypt/tpm2-tss: Filter out LTO flags due test failures

Closes: https://bugs.gentoo.org/865279
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27482
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/tpm2-tss/tpm2-tss-3.2.0-r4.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r4.ebuild 
b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r4.ebuild
index ff68e249a0e9..78d18901ba6d 100644
--- a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r4.ebuild
+++ b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools linux-info multilib-minimal tmpfiles udev
+inherit autotools flag-o-matic linux-info multilib-minimal tmpfiles udev
 
 DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
 HOMEPAGE="https://github.com/tpm2-software/tpm2-tss";
@@ -60,6 +60,9 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+       # tests fail with LTO enabbled. See bug 865275 and 865279
+       filter-lto
+
        ECONF_SOURCE=${S} econf \
                --localstatedir=/var \
                $(multilib_native_use_enable doc doxygen-doc) \

Reply via email to