git: 9e99355a33f2 - main - pam_krb5: Append to CFLAGS instead of replacing

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Mon, 09 Nov 2026 18:26:09 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=9e99355a33f2655c5cea704541fa67b0e7b3c8e4

commit 9e99355a33f2655c5cea704541fa67b0e7b3c8e4
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-11-09 18:25:31 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-11-09 18:25:31 +0000

    pam_krb5: Append to CFLAGS instead of replacing
    
    Obtained from:  CheriBSD
    Sponsored by:   AFRL, DARPA
    Differential Revision:  https://reviews.freebsd.org/D60723
---
 lib/libpam/modules/pam_krb5/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libpam/modules/pam_krb5/Makefile b/lib/libpam/modules/pam_krb5/Makefile
index 04caf7c1db44..a4a6fea71e0b 100644
--- a/lib/libpam/modules/pam_krb5/Makefile
+++ b/lib/libpam/modules/pam_krb5/Makefile
@@ -61,7 +61,7 @@ SRCS=	account.c \
 MANNODEV=	pam_krb5.8
 MANSRC.pam_krb5.8=pam-krb5.8
 
-CFLAGS=	-I${SRCDIR} \
+CFLAGS+=-I${SRCDIR} \
 	-I${.CURDIR} \
 	-I${OBJTOP}/krb5/util/profile \
 	-fno-strict-aliasing \