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