git: 3483454556d0 - main - local.meta.sys.mk skip OBJTOP for host

From: Simon J. Gerraty <sjg_at_FreeBSD.org>
Date: Sun, 23 Apr 2023 01:00:12 UTC
The branch main has been updated by sjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=3483454556d0e252c9e7c89d35bffe9addeef2ae

commit 3483454556d0e252c9e7c89d35bffe9addeef2ae
Author:     Simon J. Gerraty <sjg@FreeBSD.org>
AuthorDate: 2023-04-23 00:59:12 +0000
Commit:     Simon J. Gerraty <sjg@FreeBSD.org>
CommitDate: 2023-04-23 00:59:12 +0000

    local.meta.sys.mk skip OBJTOP for host
    
    It was already done by local.meta.sys.env.mk
---
 share/mk/local.meta.sys.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/share/mk/local.meta.sys.mk b/share/mk/local.meta.sys.mk
index 7747329694ff..bcf25e2e5cd4 100644
--- a/share/mk/local.meta.sys.mk
+++ b/share/mk/local.meta.sys.mk
@@ -10,7 +10,9 @@ MK_INSTALL_AS_USER= yes
 
 # to be consistent with src/Makefile just concatenate with '.'s
 TARGET_OBJ_SPEC:= ${TARGET_SPEC:S;,;.;g}
+.if ${MACHINE} != "host"
 OBJTOP:= ${OBJROOT}${TARGET_OBJ_SPEC}
+.endif
 
 .if defined(MAKEOBJDIR)
 .if ${MAKEOBJDIR:M/*} == ""