Backout: Remove backend container dep for non-container builds

Make is called recursively, once outside then inside the container
This commit is contained in:
David Kaltschmidt
2016-01-07 16:18:26 +01:00
parent 80c7436036
commit bd270e5ff4

View File

@@ -53,7 +53,7 @@ shell:
-v $(shell pwd)/.pkg:/go/pkg \
$(SCOPE_BACKEND_BUILD_IMAGE) SCOPE_VERSION=$(SCOPE_VERSION) GO_BUILD_INSTALL_DEPS=$(GO_BUILD_INSTALL_DEPS) $@
else
$(SCOPE_EXE):
$(SCOPE_EXE): $(SCOPE_BACKEND_BUILD_UPTODATE)
time go build $(GO_BUILD_FLAGS) -o $@ ./$(@D)
@strings $@ | grep cgo_stub\\\.go >/dev/null || { \
rm $@; \