The branch main has been updated by ivy:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=04764f21855a3a3bac3e3bbe4bc2778d0a6ae53e

commit 04764f21855a3a3bac3e3bbe4bc2778d0a6ae53e
Author:     Lexi Winter <i...@freebsd.org>
AuthorDate: 2025-08-04 01:59:04 +0000
Commit:     Lexi Winter <i...@freebsd.org>
CommitDate: 2025-08-04 01:59:04 +0000

    krb5: only apply -Wno-alloc-size-larger-than to gcc
    
    Otherwise, this breaks the clang build.
---
 krb5/lib/kadm5srv/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/krb5/lib/kadm5srv/Makefile b/krb5/lib/kadm5srv/Makefile
index 6e66fd433f52..a8f7f489d2be 100644
--- a/krb5/lib/kadm5srv/Makefile
+++ b/krb5/lib/kadm5srv/Makefile
@@ -46,7 +46,7 @@ CFLAGS+=-I${KRB5_DIR}/lib \
        -I${KRB5_OBJTOP}/lib/gssapi \
        -I${KRB5_DIR}/lib/gssapi/krb5 \
        -I${KRB5_DIR}/lib/gssapi/generic
-CWARNFLAGS+=-Wno-alloc-size-larger-than
+CWARNFLAGS.gcc+=-Wno-alloc-size-larger-than
 
 HDRDIR=        ${KRB5_OBJHDR}/kadm5
 HDRS=  ${HDRDIR}/admin.h \

Reply via email to