1 |
commit: cd1574236dd9457377d45d53470816828e364a8a |
2 |
Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Sep 26 21:22:13 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 27 21:42:35 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd157423 |
7 |
|
8 |
app-crypt/tpm2-tools: Filter out LTO flags due test failures |
9 |
|
10 |
Closes: https://bugs.gentoo.org/865277 |
11 |
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com> |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild | 4 +++- |
15 |
1 file changed, 3 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild b/app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild |
18 |
index 22e76e0b6bd7..2da3dc2b0eba 100644 |
19 |
--- a/app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild |
20 |
+++ b/app-crypt/tpm2-tools/tpm2-tools-5.2-r1.ebuild |
21 |
@@ -4,7 +4,7 @@ |
22 |
EAPI=8 |
23 |
|
24 |
PYTHON_COMPAT=( python3_{8..10} ) |
25 |
-inherit autotools bash-completion-r1 python-any-r1 |
26 |
+inherit autotools bash-completion-r1 flag-o-matic python-any-r1 |
27 |
|
28 |
DESCRIPTION="Tools for the TPM 2.0 TSS" |
29 |
HOMEPAGE="https://github.com/tpm2-software/tpm2-tools" |
30 |
@@ -51,6 +51,8 @@ src_prepare() { |
31 |
} |
32 |
|
33 |
src_configure() { |
34 |
+ # tests fail with LTO enabbled. See bug 865275 and 865277 |
35 |
+ filter-lto |
36 |
econf \ |
37 |
$(use_enable fapi) \ |
38 |
$(use_enable test unit) \ |