Fixes building scope outside of a container.

This commit is contained in:
Simon Howe
2016-02-02 13:01:12 +01:00
parent ed562614d4
commit abba6cfb65

View File

@@ -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 || { \