git: 6817f3375b1a - main - conf: Fix KCSAN enablement checking

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Sun, 17 Nov 2024 16:40:40 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=6817f3375b1a2dd59239fa8a755e7a9fd0903ab0

commit 6817f3375b1a2dd59239fa8a755e7a9fd0903ab0
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2024-11-16 17:22:47 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-11-17 16:40:33 +0000

    conf: Fix KCSAN enablement checking
    
    Fixes:  6e3875ebcf0e ("sys: move SAN and COVERAGE options handling to kern.mk")
---
 sys/conf/kern.pre.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 6ad9d209c70a..e6e42b33a9b7 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -93,6 +93,7 @@ ASM_CFLAGS= -x assembler-with-cpp -DLOCORE ${CFLAGS} ${ASM_CFLAGS.${.IMPSRC:T}}
 COMPAT_FREEBSD32_ENABLED!= grep COMPAT_FREEBSD32 opt_global.h || true ; echo
 
 KASAN_ENABLED!=	grep KASAN opt_global.h || true ; echo
+KCSAN_ENABLED!= grep KCSAN opt_global.h || true ; echo
 KMSAN_ENABLED!= grep KMSAN opt_global.h || true ; echo
 KUBSAN_ENABLED!=	grep KUBSAN opt_global.h || true ; echo
 COVERAGE_ENABLED!=	grep COVERAGE opt_global.h || true ; echo