mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 10:11:03 +00:00
Fixes building scope outside of a container.
This commit is contained in:
3
Makefile
3
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 || { \
|
||||
|
||||
Reference in New Issue
Block a user