]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
m4: dovecot - Remove extra cflags in DOVECOT_WANT_UBSAN
authorAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 5 Mar 2026 08:55:24 +0000 (10:55 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Thu, 5 Mar 2026 08:55:24 +0000 (10:55 +0200)
m4/dovecot.m4

index 0df64455600a47f10165197924329dffa37d2698..d920e667eec205231971f176249b80a4fce7b99d 100644 (file)
@@ -651,7 +651,7 @@ AC_DEFUN([DOVECOT_WANT_UBSAN], [
              AC_DEFINE([HAVE_FSANITIZE_NULLABILITY], [1], [Define if your compiler has -fsanitize=nullability])
      ])
      AS_IF([test "$san_flags" != "" ], [
-       AM_CFLAGS="$AM_CFLAGS $san_flags -U_FORTIFY_SOURCE -g -ggdb3 -O0 -fno-omit-frame-pointer"
+       AM_CFLAGS="$AM_CFLAGS $san_flags -fno-omit-frame-pointer"
        AC_DEFINE([HAVE_UNDEFINED_SANITIZER], [1], [Define if your compiler supports undefined sanitizers])
      ], [
        AC_MSG_ERROR([No undefined sanitizer support in your compiler])