Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2023 22:10:45 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: f8ff4e8bafff - stable/13 - stand: Add comment about CFLAGS pollution
Message-ID:  <202301242210.30OMAjCj080482@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by imp:

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

commit f8ff4e8bafff89d1386447ab97c967a2bed3a8a5
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-08 16:34:44 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-24 21:49:22 +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
    
    (cherry picked from commit 37dabb06e23a2435eab0a0b37d87258d92d0fd50)
---
 stand/libsa/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile
index 682fdd9badce..25bb233ebfcd 100644
--- a/stand/libsa/Makefile
+++ b/stand/libsa/Makefile
@@ -198,6 +198,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?202301242210.30OMAjCj080482>