diff --git a/projects/samba/build.sh b/projects/samba/build.sh index 2f7ee4d41486..2b686fe03515 100755 --- a/projects/samba/build.sh +++ b/projects/samba/build.sh @@ -16,5 +16,9 @@ ################################################################################ export CFLAGS="$CFLAGS -Wno-error=strict-prototypes -Wno-error=format-truncation" + +if [ -f /usr/local/bin/clang-21 ]; then + export CFLAGS="${CFLAGS} -Wno-error=uninitialized-const-pointer -Wno-error=sometimes-uninitialized" +fi # The real script is maintained in the Samba repo exec lib/fuzzing/oss-fuzz/build_samba.sh