svn commit: r338129 - head/tools/build/mk
Alex Richardson
arichardson at FreeBSD.org
Tue Aug 21 09:35:58 UTC 2018
Author: arichardson
Date: Tue Aug 21 09:35:56 2018
New Revision: 338129
URL: https://svnweb.freebsd.org/changeset/base/338129
Log:
Fix -DWITHOUT_AUTO_OBJ build of rescue after r338096
Approved By: jhb (mentor)
Modified:
head/tools/build/mk/Makefile.boot
Modified: head/tools/build/mk/Makefile.boot
==============================================================================
--- head/tools/build/mk/Makefile.boot Tue Aug 21 03:45:09 2018 (r338128)
+++ head/tools/build/mk/Makefile.boot Tue Aug 21 09:35:56 2018 (r338129)
@@ -8,6 +8,7 @@ LDFLAGS+= -L${WORLDTMP}/legacy/usr/lib
# we do not want to capture dependencies referring to the above
UPDATE_DEPENDFILE= no
+.if !make(obj)
# When building host tools we should never pull in headers from the source sys
# directory to avoid any ABI issues that might cause the built binary to crash.
# The only exceptions to this are sys/cddl/compat for dtrace bootstrap tools and
@@ -23,4 +24,5 @@ UPDATE_DEPENDFILE= no
.error Do not include $${SRCTOP}/include when building bootstrap tools. \
Copy the header to $${WORLDTMP}/legacy in tools/build/Makefile instead. \
Error was caused by Makefile in ${.CURDIR}
+.endif
.endif
More information about the svn-src-all
mailing list