diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-06-26 18:59:07 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-26 18:59:07 +0200 |
| commit | eecefab32c6f158629abd2ac7f6cb0b070f88b4a (patch) | |
| tree | ae5b25c59c3f574c36f79144bf48117ad963dac1 /Makefile | |
| parent | b5f361149e86046a6cd8db76f26d75451a27fcab (diff) | |
Makefile: fix fuchsia build
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |
