aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-06-26 18:59:07 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-06-26 18:59:07 +0200
commiteecefab32c6f158629abd2ac7f6cb0b070f88b4a (patch)
treeae5b25c59c3f574c36f79144bf48117ad963dac1 /Makefile
parentb5f361149e86046a6cd8db76f26d75451a27fcab (diff)
Makefile: fix fuchsia build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 46fdc1514..7afef95cc 100644
--- a/Makefile
+++ b/Makefile
@@ -43,14 +43,13 @@ export CGO_ENABLED=0
ifeq ("$(TARGETOS)", "fuchsia")
# SOURCEDIR should point to fuchsia checkout.
- GO = $(SOURCEDIR)/buildtools/go
+ GO = $(SOURCEDIR)/third_party/go/bin/go
+ export GOROOT=$(SOURCEDIR)/third_party/go
export CGO_ENABLED=1
ifeq ("$(TARGETARCH)", "amd64")
- export GOROOT=$(SOURCEDIR)/out/debug-x64/goroot
# Required by the goroot.
export ZIRCON_BUILD_DIR=$(SOURCEDIR)/out/build-zircon/build-x64
else ifeq ("$(TARGETARCH)", "arm64")
- export GOROOT=$(SOURCEDIR)/out/debug-arm64/goroot
# Required by the goroot.
export ZIRCON_BUILD_DIR=$(SOURCEDIR)/out/build-zircon/build-arm64
endif