summaryrefslogtreecommitdiff
path: root/share/mk/local.sys.mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2019-06-15 17:08:28 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2019-06-15 17:08:28 +0000
commit9e0a1e78e5492d22cd9cdcb24882bf4212e46f85 (patch)
treec47dcf2e75480e49e7c763ee1c703d58f32ce7ec /share/mk/local.sys.mk
parent48da57b47ff1425360f396ea799e05e939d1e1ce (diff)
downloadsrc-test2-9e0a1e78e5492d22cd9cdcb24882bf4212e46f85.tar.gz
src-test2-9e0a1e78e5492d22cd9cdcb24882bf4212e46f85.zip
Notes
Diffstat (limited to 'share/mk/local.sys.mk')
-rw-r--r--share/mk/local.sys.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/mk/local.sys.mk b/share/mk/local.sys.mk
index e3bfd572f411..a4b7b0561f15 100644
--- a/share/mk/local.sys.mk
+++ b/share/mk/local.sys.mk
@@ -33,6 +33,11 @@ MAKE_PRINT_VAR_ON_ERROR+= \
OBJTOP \
${MAKE_PRINT_VAR_ON_ERROR_XTRAS}
+# Meta mode may rebuild targets that then fail. The next build won't detect
+# the meta mode change. Not all targets have a 'rm ${.TARGET}' in them
+# so force it.
+.DELETE_ON_ERROR:
+
.if ${.MAKE.LEVEL} > 0
MAKE_PRINT_VAR_ON_ERROR += .MAKE.MAKEFILES .PATH
.endif