commit:     b37aeca1bcdac3de7c1be1229ad0960c9be88b83
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Mon Sep 26 21:08:48 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=b37aeca1

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

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

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

diff --git a/app-crypt/tpm2-abrmd/tpm2-abrmd-2.4.1-r1.ebuild 
b/app-crypt/tpm2-abrmd/tpm2-abrmd-2.4.1-r1.ebuild
index ed4032c44ca0..cda953bf6908 100644
--- a/app-crypt/tpm2-abrmd/tpm2-abrmd-2.4.1-r1.ebuild
+++ b/app-crypt/tpm2-abrmd/tpm2-abrmd-2.4.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools systemd
+inherit autotools flag-o-matic systemd
 
 DESCRIPTION="TPM2 Access Broker & Resource Manager"
 HOMEPAGE="https://github.com/tpm2-software/tpm2-abrmd";
@@ -36,6 +36,8 @@ src_prepare() {
 }
 
 src_configure() {
+       # tests fail with LTO enabbled. See bug 865275
+       filter-lto
        econf \
                $(use_enable static-libs static) \
                $(use_enable test unit) \

Reply via email to