]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Disable error on warning
authorMark Andrews <marka@isc.org>
Wed, 31 Jan 2024 05:52:01 +0000 (16:52 +1100)
committerMichal Nowak <mnowak@isc.org>
Fri, 16 Feb 2024 10:08:22 +0000 (11:08 +0100)
Otherwise "unused variables" and other errors pop up during compilation.

.gitlab-ci.yml

index 66d0d0e8c4708bb3ad8b0619baa8784d100d625c..96284a6e14a380d16ec2c6b786a65d221a576fac 100644 (file)
@@ -964,7 +964,7 @@ clang:asan:
     CC: ${CLANG}
     CFLAGS: "${CFLAGS_COMMON} -fsanitize=address,undefined -DISC_MEM_USE_INTERNAL_MALLOC=0"
     LDFLAGS: "-fsanitize=address,undefined"
-    EXTRA_CONFIGURE: "--with-libidn2"
+    EXTRA_CONFIGURE: "--with-libidn2 --disable-warn-error"
   <<: *base_image
   <<: *build_job
 
@@ -1022,7 +1022,7 @@ clang:tsan:
     CC: "${CLANG}"
     CFLAGS: "${CFLAGS_COMMON} -fsanitize=thread -DISC_MEM_USE_INTERNAL_MALLOC=0"
     LDFLAGS: "-fsanitize=thread"
-    EXTRA_CONFIGURE: "--with-libidn2"
+    EXTRA_CONFIGURE: "--with-libidn2 --disable-warn-error"
 
 system:clang:tsan:
   variables:
@@ -1127,7 +1127,7 @@ clang:bullseye:amd64:
   variables:
     CC: ${CLANG}
     CFLAGS: "${CFLAGS_COMMON} -Wenum-conversion"
-    EXTRA_CONFIGURE: "--with-python=python3"
+    EXTRA_CONFIGURE: "--with-python=python3 --disable-warn-error"
   <<: *debian_bullseye_amd64_image
   <<: *build_job
 
@@ -1178,7 +1178,7 @@ unit:gcc:pkcs11:
 clang:freebsd12:amd64:
   variables:
     CFLAGS: "${CFLAGS_COMMON}"
-    EXTRA_CONFIGURE: "--with-gssapi=krb5-config"
+    EXTRA_CONFIGURE: "--with-gssapi=krb5-config --disable-warn-error"
     USER: gitlab-runner
   <<: *freebsd_12_amd64_image
   <<: *build_job