Fix 'make bmake' top-level bootstrapping.

Fixes:	ee10666327b62
(cherry picked from commit eb8bf6bb4204c302e2329b68c8a930be5d44bc9c)
This commit is contained in:
Bryan Drewery 2021-03-06 09:45:08 -08:00 committed by Dimitry Andric
parent 886e5802c4
commit 5815ac31d9
2 changed files with 3 additions and 1 deletions

View File

@ -457,7 +457,7 @@ MMAKE= ${MMAKEENV} ${MAKE} \
OBJTOP=${MYMAKE:H}/obj \
OBJROOT='$${OBJTOP}/' \
MAKEOBJDIRPREFIX= \
MAN= -DNO_SHARED \
MK_MAN=no -DNO_SHARED \
-DNO_CPU_CFLAGS MK_WERROR=no \
-DNO_SUBDIR \
DESTDIR= PROGNAME=${MYMAKE:T}

View File

@ -9,9 +9,11 @@
.if exists(${.CURDIR}/tests)
PROG= make
.if ${PROGNAME:U} != "bmake"
LINKS= ${BINDIR}/make ${BINDIR}/bmake
MLINKS= ${MAN} b${MAN}
.endif
.endif
.if !defined(MK_SHARED_TOOLCHAIN) || ${MK_SHARED_TOOLCHAIN} == "no"
NO_SHARED?= YES