summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.mak.dev6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.mak.dev b/config.mak.dev
index 3deb076d5e..c3104f400b 100644
--- a/config.mak.dev
+++ b/config.mak.dev
@@ -65,4 +65,10 @@ DEVELOPER_CFLAGS += -Wno-uninitialized
endif
endif
+# https://bugzilla.redhat.com/show_bug.cgi?id=2075786
+ifneq ($(filter gcc12,$(COMPILER_FEATURES)),)
+DEVELOPER_CFLAGS += -Wno-error=stringop-overread
+DEVELOPER_CFLAGS += -Wno-error=dangling-pointer
+endif
+
GIT_TEST_PERL_FATAL_WARNINGS = YesPlease