git: 37dabb06e23a - main - stand: Add comment about CFLAGS pollution

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 08 Jul 2022 17:50:06 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=37dabb06e23a2435eab0a0b37d87258d92d0fd50

commit 37dabb06e23a2435eab0a0b37d87258d92d0fd50
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-08 16:34:44 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-07-08 17:47:37 +0000

    stand: Add comment about CFLAGS pollution
    
    Add a note that veriexec / bearssl builds will pollute the CFLAGS in a
    way that's somewhat hard to fix, so I'm just noting it for now.
    
    Sponsored by:           Netflix
---
 stand/libsa/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile
index 09637bd5e9d4..dc35fe007506 100644
--- a/stand/libsa/Makefile
+++ b/stand/libsa/Makefile
@@ -184,6 +184,7 @@ SRCS+=  explicit_bzero.c crc32_libkern.c
 .endif
 
 .if ${MK_LOADER_VERIEXEC} == "yes" && ${MK_BEARSSL} == "yes"
+# XXX Note that these pollutes CFLAGS in a way that's not easy to fix
 .include "${SRCTOP}/lib/libbearssl/Makefile.libsa.inc"
 .include "${SRCTOP}/lib/libsecureboot/Makefile.libsa.inc"
 .endif