Commit 810a2dc0 authored by Alex Brainman's avatar Alex Brainman Committed by Russ Cox

lib9: stop build if ../version.bash fails

R=golang-dev, m, rsc
CC=golang-dev
https://golang.org/cl/4639091
parent 63b8b948
......@@ -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"'"' $<
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment