From eecefab32c6f158629abd2ac7f6cb0b070f88b4a Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 26 Jun 2018 18:59:07 +0200 Subject: Makefile: fix fuchsia build --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit mrf-deployment