commit:     c5efec2494163085aa796a8c789e8c9e5c658eb2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 04:05:08 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 12 04:05:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5efec24

sys-block/parted: disable -fanalyzer

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-block/parted/parted-3.6-r2.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys-block/parted/parted-3.6-r2.ebuild 
b/sys-block/parted/parted-3.6-r2.ebuild
index 38a0f57020cb..9de1986f0bf4 100644
--- a/sys-block/parted/parted-3.6-r2.ebuild
+++ b/sys-block/parted/parted-3.6-r2.ebuild
@@ -64,6 +64,11 @@ src_prepare() {
 }
 
 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 myconf=(
                $(use_enable debug)
                $(use_enable device-mapper)

Reply via email to