Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2022 17:50:06 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 37dabb06e23a - main - stand: Add comment about CFLAGS pollution
Message-ID:  <202207081750.268Ho63W067038@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207081750.268Ho63W067038>