diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d9fc905dc..5c41fa9f78 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1040,12 +1040,14 @@ unit:clang:tsan: artifacts: true # Jobs for Clang builds on Debian 11 "bullseye" (amd64) +# The -Wno-compound-token-split-by-macro option prevents warning when compiling +# Perl DLZ module with Clang against Perl older than version 5.35.2. clang:bullseye:amd64: variables: BUILD_CONTRIB: 1 CC: ${CLANG} - CFLAGS: "${CFLAGS_COMMON} -Wenum-conversion" + CFLAGS: "${CFLAGS_COMMON} -Wenum-conversion -Wno-compound-token-split-by-macro" # See https://gitlab.isc.org/isc-projects/bind9/-/issues/3444 EXTRA_CONFIGURE: "--without-jemalloc --disable-leak-detection" RUN_MAKE_INSTALL: 1