commit:     9a4367ce5c2638979e00095b5c846d5a71326006
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Mon Sep 26 21:30:38 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=9a4367ce

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>
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild 
b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild
index 4de62a88379e..6b9f088e71d1 100644
--- a/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.ebuild
+++ b/app-crypt/tpm2-tss/tpm2-tss-3.2.0-r3.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";
@@ -59,6 +59,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