Always install usr.bin/grep as grep when bootstrapping
We have to bootstrap grep when cross-building from macOS/Linux.
This commit is contained in:
parent
ec4deee4e4
commit
4f971ddf33
@ -4,7 +4,7 @@
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
.if ${MK_BSD_GREP} == "yes"
|
||||
.if ${MK_BSD_GREP} == "yes" || defined(BOOTSTRAPPING)
|
||||
PROG= grep
|
||||
MAN1= grep.1 zgrep.1
|
||||
.else
|
||||
@ -50,7 +50,7 @@ MLINKS= zgrep.1 zfgrep.1 \
|
||||
|
||||
CFLAGS.gcc+= --param max-inline-insns-single=500
|
||||
|
||||
.if ${MK_BSD_GREP} == "yes"
|
||||
.if ${MK_BSD_GREP} == "yes" || defined(BOOTSTRAPPING)
|
||||
LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \
|
||||
${BINDIR}/grep ${BINDIR}/fgrep \
|
||||
${BINDIR}/grep ${BINDIR}/rgrep \
|
||||
|
Loading…
Reference in New Issue
Block a user