summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-05-12 05:05:08 +0100
committerSam James <sam@gentoo.org>2024-05-12 05:05:40 +0100
commitc5efec2494163085aa796a8c789e8c9e5c658eb2 (patch)
treeb7f091f9c1e77602541ad926dd1caadc9dd6215f
parentdev-python/pyproject-fmt-rust: Keyword 1.0.1 riscv, #931703 (diff)
downloadgentoo-c5efec2494163085aa796a8c789e8c9e5c658eb2.tar.gz
gentoo-c5efec2494163085aa796a8c789e8c9e5c658eb2.tar.bz2
gentoo-c5efec2494163085aa796a8c789e8c9e5c658eb2.zip
sys-block/parted: disable -fanalyzer
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sys-block/parted/parted-3.6-r2.ebuild5
1 files changed, 5 insertions, 0 deletions
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)