1 |
commit: 6d394bba10e836b03681a3e8458896f1f454221a |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 30 22:49:23 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 30 22:49:40 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d394bba |
7 |
|
8 |
dev-libs/libtasn1: disable fanalyzer |
9 |
|
10 |
Slows down build and we don't need it. |
11 |
|
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-libs/libtasn1/libtasn1-4.18.0.ebuild | 6 ++++++ |
15 |
1 file changed, 6 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libtasn1/libtasn1-4.18.0.ebuild b/dev-libs/libtasn1/libtasn1-4.18.0.ebuild |
18 |
index 7138eb6e7263..f6bf3c887b59 100644 |
19 |
--- a/dev-libs/libtasn1/libtasn1-4.18.0.ebuild |
20 |
+++ b/dev-libs/libtasn1/libtasn1-4.18.0.ebuild |
21 |
@@ -34,10 +34,16 @@ src_prepare() { |
22 |
} |
23 |
|
24 |
multilib_src_configure() { |
25 |
+ # -fanalyzer substantially slows down the build and isn't useful for |
26 |
+ # us. It's useful for upstream as it's static analysis, but it's not |
27 |
+ # useful when just getting something built. |
28 |
+ export gl_cv_warn_c__fanalyzer=no |
29 |
+ |
30 |
local myeconfargs=( |
31 |
$(use_enable static-libs static) |
32 |
$(multilib_native_use_enable valgrind valgrind-tests) |
33 |
) |
34 |
+ |
35 |
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
36 |
} |