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