commit: 1a01171d4d955e5244c5d31d9730f181800ebe03
parent 978252332c97ab82f30040796571daf3eb2fe8a8
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 7 Sep 2024 11:46:22 +0200
profiles/base: remove -Wwrite-strings from CFLAGS
Not worth the trouble of broken builds due to -Werror,-Wincompatible-pointer-types-discards-qualifiers
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
@@ -4,7 +4,7 @@ USE="
"
COMMON_FLAGS="-O2 -pipe -march=native -mtune=native -ggdb -Wall -fPIC -ftrapv"
-CFLAGS="${COMMON_FLAGS} -Wwrite-strings"
+CFLAGS="${COMMON_FLAGS}"
OBJCCFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
OBJCXXFLAGS="${COMMON_FLAGS}"