git: 9633c3d87476 - main - WITHOUT_BOOT build option appears to include stand, failing on libsa

From: Toomas Soome <tsoome_at_FreeBSD.org>
Date: Thu, 17 Mar 2022 17:50:05 UTC
The branch main has been updated by tsoome:

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

commit 9633c3d87476f72375f13942b55a4c9a7a00c7d8
Author:     Toomas Soome <tsoome@FreeBSD.org>
AuthorDate: 2022-03-17 17:42:05 +0000
Commit:     Toomas Soome <tsoome@FreeBSD.org>
CommitDate: 2022-03-17 17:42:05 +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
    MFC:            1 day
---
 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