mirror of
https://github.com/golang/go
synced 2024-11-22 00:04:41 -07:00
lib9: stop build if ../version.bash fails
R=golang-dev, m, rsc CC=golang-dev https://golang.org/cl/4639091
This commit is contained in:
parent
63b8b948d9
commit
810a2dc077
@ -116,5 +116,6 @@ GOROOT_FINAL?=$(GOROOT)
|
||||
$(HOST_CC) -c $(HOST_CFLAGS) $<
|
||||
|
||||
goos.$O: goos.c
|
||||
$(HOST_CC) -c $(HOST_CFLAGS) -DGOOS='"$(GOOS)"' -DGOARCH='"$(GOARCH)"' -DGOROOT='"$(GOROOT_FINAL)"' -DGOVERSION='"'"$$(../version.bash)"'"' $<
|
||||
GOVERSION=`../version.bash` && \
|
||||
$(HOST_CC) -c $(HOST_CFLAGS) -DGOOS='"$(GOOS)"' -DGOARCH='"$(GOARCH)"' -DGOROOT='"$(GOROOT_FINAL)"' -DGOVERSION='"'"$$GOVERSION"'"' $<
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user