aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2026-04-09 14:30:20 +0000
committerLexi Winter <ivy@FreeBSD.org>2026-04-09 14:30:20 +0000
commit0dd9c4abf0e56b9d4f6f7204a68b1475f2bbf1fc (patch)
treebefdea297a543f3bcb342042c10a4e3ce2c3c172
parentf54209510b1b30b1445792db7d33401f7c7a97d6 (diff)
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: 50de0bf50512 ("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
-rw-r--r--tools/build/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile
index 604885dea4c8..f0856900b281 100644
--- a/tools/build/Makefile
+++ b/tools/build/Makefile
@@ -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.