From 18cf7ddfcaeb8ece909e6162cc7aec3294a377d5 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 9 May 2012 04:54:50 +0000 Subject: [PATCH] Make is part of the bootstrap path, so we need to guard against this not being defined. Otherwise we don't make a new make when the old make is incompatible. --- usr.bin/make/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/make/Makefile b/usr.bin/make/Makefile index f67cf50ff6b5..670e524ba6f2 100644 --- a/usr.bin/make/Makefile +++ b/usr.bin/make/Makefile @@ -10,7 +10,7 @@ SRCS= arch.c buf.c cond.c dir.c for.c hash.c hash_tables.c job.c \ lst.c main.c make.c parse.c proc.c shell.c str.c suff.c targ.c \ util.c var.c -.if ${MK_SHARED_TOOLCHAIN} == "no" +.if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no" NO_SHARED?= YES .endif