From 9501683925b217b38d332f4dc13f9fe8f9ea0c29 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 27 Jan 2023 09:41:47 -0800 Subject: [PATCH] Revert "Don't omit bsd.compiler.mk for the nested delete-old in buildworld." The original motivation (src.opts.mk needing bsd.comppiler.mk to determine if CXX is supported) is no longer relevant now that CXX is non-optional. This reverts commit b9cb80883bce6dc992cf05ae2e59089a60d311ec. --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index dac41255971..ae50cdda508 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1024,7 +1024,7 @@ _worldtmp: .PHONY ${_+_}@if [ -e "${WORLDTMP}" ]; then \ echo ">>> Deleting stale files in build tree..."; \ cd ${.CURDIR}; env PATH=${TMPPATH:Q}:${PATH:Q} ${WMAKE:NPATH=*} \ - -DBATCH_DELETE_OLD_FILES delete-old \ + _NO_INCLUDE_COMPILERMK=t -DBATCH_DELETE_OLD_FILES delete-old \ delete-old-libs >/dev/null; \ fi rm -rf ${WORLDTMP}/legacy/usr/include