Fix -DWITHOUT_AUTO_OBJ build of rescue after r338096

Approved By:	jhb (mentor)
This commit is contained in:
Alex Richardson 2018-08-21 09:35:56 +00:00
parent d12e91d584
commit 2f0437dab1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=338129

View File

@ -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
@ -24,3 +25,4 @@ UPDATE_DEPENDFILE= no
Copy the header to $${WORLDTMP}/legacy in tools/build/Makefile instead. \
Error was caused by Makefile in ${.CURDIR}
.endif
.endif