From 4d1b426e33f429cd6e692a91633f20af4b8b33c6 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Thu, 7 Mar 2024 02:58:50 +0100 Subject: 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 --- share/mk/configure/build-depends/cc.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3