From a54761589bc8efa034b6184a4108ba099f95b59f Mon Sep 17 00:00:00 2001 From: bdrewery Date: Tue, 13 Oct 2015 18:44:55 +0000 Subject: [PATCH] MFC r288391: Fix the .MAKE added in r251750 to properly support the historical -n -n. git-svn-id: svn://svn.freebsd.org/base/stable/10@289248 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 99e08afdf..6693c337d 100644 --- a/Makefile +++ b/Makefile @@ -245,9 +245,9 @@ cleanworld: # Handle the user-driven targets, using the source relative mk files. # -.if empty(.MAKEFLAGS:M-n) +.if !(!empty(.MAKEFLAGS:M-n) && ${.MAKEFLAGS:M-n} == "-n") # skip this for -n to avoid changing previous behavior of -# 'make -n buildworld' etc. +# 'make -n buildworld' etc. Using -n -n will run it. ${TGTS}: .MAKE tinderbox toolchains kernel-toolchains: .MAKE .endif -- 2.45.0