summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-03-07 02:58:50 +0100
committerAlejandro Colomar <alx@kernel.org>2024-03-12 18:23:30 +0100
commit4d1b426e33f429cd6e692a91633f20af4b8b33c6 (patch)
treef5063624876a1124ffffebf862d72cbebcb29faf
parente18be801999c6a9002c1a97f2e7bf4802e062f64 (diff)
share/mk/configure/build-depends/cc.mk: Use -Wno-unsafe-buffer-usage with clang(1)
That warning has false positives, such as in unix(7). Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--share/mk/configure/build-depends/cc.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/mk/configure/build-depends/cc.mk b/share/mk/configure/build-depends/cc.mk
index 88c88fc22..37ba5edd5 100644
--- a/share/mk/configure/build-depends/cc.mk
+++ b/share/mk/configure/build-depends/cc.mk
@@ -43,7 +43,9 @@ COMMON_CFLAGS := \
GCC_CFLAGS := -fanalyzer
-CLANG_CFLAGS := -Weverything
+CLANG_CFLAGS := \
+ -Weverything \
+ -Wno-unsafe-buffer-usage
DEFAULT_CFLAGS := $(COMMON_CFLAGS)