Module Name:    src
Committed By:   christos
Date:           Sun Jun 17 23:37:22 UTC 2018

Modified Files:
        src/share/mk: bsd.sys.mk

Log Message:
The compat build plays games with MAKEOBJDIR and unsets MAKEOBJDIRPREFIX.
Keep using our standard NETBSDOBJDIR if it was set.


To generate a diff of this commit:
cvs rdiff -u -r1.281 -r1.282 src/share/mk/bsd.sys.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.sys.mk
diff -u src/share/mk/bsd.sys.mk:1.281 src/share/mk/bsd.sys.mk:1.282
--- src/share/mk/bsd.sys.mk:1.281	Wed Jun 13 11:46:26 2018
+++ src/share/mk/bsd.sys.mk	Sun Jun 17 19:37:22 2018
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.sys.mk,v 1.281 2018/06/13 15:46:26 christos Exp $
+#	$NetBSD: bsd.sys.mk,v 1.282 2018/06/17 23:37:22 christos Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -31,6 +31,9 @@ REPROFLAGS+=	-fdebug-prefix-map=\$$NETBS
 REPROFLAGS+=	-fdebug-prefix-map=\$$X11SRCDIR=/usr/xsrc
 .if defined(MAKEOBJDIRPREFIX)
 NETBSDOBJDIR=	${MAKEOBJDIRPREFIX}${NETBSDSRCDIR}
+.endif
+
+.if defined(NETBSDOBJDIR)
 .export NETBSDOBJDIR
 REPROFLAGS+=	-fdebug-prefix-map=\$$NETBSDOBJDIR=/usr/obj
 .endif

Reply via email to