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

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

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

 app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild 
b/app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild
index 22e76e0b6bd7..2da3dc2b0eba 100644
--- a/app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild
+++ b/app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
-inherit autotools bash-completion-r1 python-any-r1
+inherit autotools bash-completion-r1 flag-o-matic python-any-r1
 
 DESCRIPTION="Tools for the TPM 2.0 TSS"
 HOMEPAGE="https://github.com/tpm2-software/tpm2-tools";
@@ -51,6 +51,8 @@ src_prepare() {
 }
 
 src_configure() {
+       # tests fail with LTO enabbled. See bug 865275 and 865277
+       filter-lto
        econf \
                $(use_enable fapi) \
                $(use_enable test unit) \

Reply via email to