1
0
mirror of https://github.com/golang/go synced 2024-11-25 01:57:56 -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:
Alex Brainman 2011-07-01 10:42:25 -04:00 committed by Russ Cox
parent 63b8b948d9
commit 810a2dc077

View File

@ -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"'"' $<