From 42b16bca0cd7538222fdeb0d11998cdbface48ea Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Fri, 10 Nov 2017 20:10:05 +0000 Subject: [PATCH] AUTO_OBJ: Don't create .OBJDIR with 'make -n'. Sponsored by: Dell EMC Isilon --- share/mk/sys.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/sys.mk b/share/mk/sys.mk index e59671f430f..a4112caffca 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -118,7 +118,7 @@ NO_META_IGNORE_HOST_HEADERS= 1 # This needs to be done early - before .PATH is computed # Don't do this for 'make showconfig' as it enables all options where meta mode # is not expected. -.if !make(showconfig) && !make(print-dir) +.if !make(showconfig) && !make(print-dir) && empty(.MAKEFLAGS:M-[nN]) .sinclude .endif .endif # ${MK_AUTO_OBJ} == "yes"