From a6bd50f712bb6e99dae3c2dda2f4c3742d7cf8e2 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Tue, 18 Apr 2023 20:25:33 -0700 Subject: [PATCH] Avoid breaking crunchgen with meta stats When using DIRDEPS_BUILD we normally get stats as each dir finishes. This upsets crunchen, so keep quiet when _RECURSING_CRUNCH is defined --- share/mk/local.autodep.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/share/mk/local.autodep.mk b/share/mk/local.autodep.mk index 6c2b560b1f4..b7660fad142 100644 --- a/share/mk/local.autodep.mk +++ b/share/mk/local.autodep.mk @@ -29,3 +29,8 @@ CLEANFILES+= .depend @${CXX} -E ${CXXFLAGS} ${.IMPSRC} | grep -v '^[[:space:]]*$$' .-include + +.ifdef _RECURSING_CRUNCH +# crunchgen does not want to see our stats +_reldir_finish: .NOTMAIN +.endif