git: 2ac7903dcbba - releng/13.1 - WITHOUT_BOOT build option appears to include stand, failing on libsa

From: Toomas Soome <tsoome_at_FreeBSD.org>
Date: Sat, 19 Mar 2022 12:19:48 UTC
The branch releng/13.1 has been updated by tsoome:

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

commit 2ac7903dcbbafd0ad8c466344477fe62f16dccea
Author:     Toomas Soome <tsoome@FreeBSD.org>
AuthorDate: 2022-03-17 17:42:05 +0000
Commit:     Toomas Soome <tsoome@FreeBSD.org>
CommitDate: 2022-03-18 23:18:12 +0000

    WITHOUT_BOOT build option appears to include stand, failing on libsa
    
    building libsa needs to use -I${LDRSRC} for some files.
    
    PR:             260083
    Submitted by:   Ivan Rozhuk
    Approved by:    re (gjb, early MFC)
    
    (cherry picked from commit 9633c3d87476f72375f13942b55a4c9a7a00c7d8)
---
 stand/libsa/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/stand/libsa/Makefile b/stand/libsa/Makefile
index 6ac1d900104e..781194d0a28d 100644
--- a/stand/libsa/Makefile
+++ b/stand/libsa/Makefile
@@ -167,6 +167,9 @@ SRCS+=	time.c
 .PATH: ${SRCTOP}/sys/ufs/ffs
 SRCS+=ffs_subr.c ffs_tables.c
 
+CFLAGS.dosfs.c+= -I${LDRSRC}
+CFLAGS.tftp.c+= -I${LDRSRC}
+CFLAGS.ufs.c+= -I${LDRSRC}
 CFLAGS.bzipfs.c+= -I${SRCTOP}/contrib/bzip2
 
 # explicit_bzero and calculate_crc32c