From abba6cfb655a1ed66ccdcbe17d8aabc4622be92c Mon Sep 17 00:00:00 2001 From: Simon Howe Date: Tue, 2 Feb 2016 13:01:12 +0100 Subject: [PATCH] Fixes building scope outside of a container. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index a2759992d..29ac75628 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,9 @@ $(SCOPE_EXE) $(RUNSVINIT) lint tests shell: $(SCOPE_BACKEND_BUILD_UPTODATE) else +# This is set in backend/Dockerfile when building inside a container. +export GO15VENDOREXPERIMENT=1 + $(SCOPE_EXE): $(SCOPE_BACKEND_BUILD_UPTODATE) time go build $(GO_BUILD_FLAGS) -o $@ ./$(@D) @strings $@ | grep cgo_stub\\\.go >/dev/null || { \