summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-05-09 04:54:50 +0000
committerimp <imp@FreeBSD.org>2012-05-09 04:54:50 +0000
commitf8f35ffdf562c6c5392f928af11a11c335c562c3 (patch)
tree1bbc5441e086e845c6cfc1118af9845b01c66ba3 /usr.bin/make
parent62a24888237bd813997b2923ac098f311a35609b (diff)
downloadFreeBSD-src-f8f35ffdf562c6c5392f928af11a11c335c562c3.zip
FreeBSD-src-f8f35ffdf562c6c5392f928af11a11c335c562c3.tar.gz
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.
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/Makefile b/usr.bin/make/Makefile
index f67cf50..670e524 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
OpenPOWER on IntegriCloud