go/bootstrap.mk: allow user to set GOROOT_BOOTSTRAP in mk.conf
This commit is contained in:
parent
7203e6ff3a
commit
71a42ac05e
1 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
|||
# $NetBSD: bootstrap.mk,v 1.1 2020/05/01 14:09:14 tnn Exp $
|
||||
# $NetBSD: bootstrap.mk,v 1.2 2020/05/01 14:39:37 tnn Exp $
|
||||
|
||||
.if !defined(GOROOT_BOOTSTRAP) || !exists(${GOROOT_BOOTSTRAP}/bin/go)
|
||||
BUILD_DEPENDS+= go14-1.4*:../../lang/go14
|
||||
GOROOT_BOOTSTRAP= ${PREFIX}/go14
|
||||
.endif
|
||||
|
|
Loading…
Reference in a new issue