tools/build/Makefile: Always add md4.h to SYSINCS
Since libmd was added to the bootstrap, building main on stable/14
fails because of an incompatibility in its old md4.h. Fix this by
always including md4.h in the bootstrap headers, instead of only
doing so when building on a non-FreeBSD host.
Fixes: 50de0bf505 ("flua: Always build as a bootstrap tool")
Reported by: olce
Reviewed by: olce, kevans
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D56327
This commit is contained in:
@@ -395,10 +395,8 @@ SYSINCS+= ${SRCTOP}/sys/sys/ctf.h
|
||||
SYSINCS+= ${SRCTOP}/sys/sys/kbio.h
|
||||
# for kldxref:
|
||||
SYSINCS+= ${SRCTOP}/sys/sys/module.h
|
||||
.if ${.MAKE.OS} != "FreeBSD"
|
||||
# for libmd:
|
||||
SYSINCS+= ${SRCTOP}/sys/sys/md4.h
|
||||
.endif
|
||||
|
||||
# We want to run the build with only ${WORLDTMP} in $PATH to ensure we don't
|
||||
# accidentally run tools that are incompatible but happen to be in $PATH.
|
||||
|
||||
Reference in New Issue
Block a user