--- configure	2023-09-17 11:22:31.000000000 +0800
+++ configure	2024-02-20 10:28:53.000000000 +0800
@@ -9150,7 +9150,7 @@
 
     case "$CC" in
         *gcc*)
-            CC="$CC -Wall -Werror"
+            CC="$CC -Wall"
             ;;
     esac
 
--- scripts/mgnuc.in	2023-09-17 11:21:18.000000000 +0800
+++ scripts/mgnuc.in	2024-02-20 10:43:57.000000000 +0800
@@ -73,7 +73,7 @@
         esac
         DEBUG_OPTS="-g"
         DISABLE_OPTS_OPT="-O0"
-        COMPILER_HALT_AT_WARN_OPT="-Werror"
+        COMPILER_HALT_AT_WARN_OPT=""
         COMPILER=gcc
         ;;
     clang*)
@@ -82,7 +82,7 @@
         OPT_OPTS="@OPT_FLAGS_FOR_CLANG@ ${CFLAGS_FOR_NO_STRICT_ALIASING} -fomit-frame-pointer"
         DEBUG_OPTS="-g"
         DISABLE_OPTS_OPT="-O0"
-        COMPILER_HALT_AT_WARN_OPT="-Werror"
+        COMPILER_HALT_AT_WARN_OPT=""
         COMPILER=clang
         ;;
     msvc*)
