git: 01f549e1c9cf - stable/13 - WITHOUT_BOOT build option appears to include stand, failing on libsa

From: Toomas Soome <tsoome_at_FreeBSD.org>
Date: Fri, 18 Mar 2022 23:13:40 UTC
The branch stable/13 has been updated by tsoome:

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

commit 01f549e1c9cf085d5a09a3b64a945c1f15dd42ba
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:10:36 +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