Skip to content

Commit a47feaf

Browse files
authored
Merge pull request #4898 from timchenxiaoyu/makefile
standard makefile,fix not work no macos
2 parents f7bd43c + d649174 commit a47feaf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,14 @@ benchmark: ## run benchmarks tests
196196

197197
FORCE:
198198

199-
define BUILD_BINARY =
199+
define BUILD_BINARY
200200
@echo "$(WHALE) $@"
201201
@go build ${DEBUG_GO_GCFLAGS} ${GO_GCFLAGS} ${GO_BUILD_FLAGS} -o $@ ${GO_LDFLAGS} ${GO_TAGS} ./$<
202202
endef
203203

204204
# Build a binary from a cmd.
205205
bin/%: cmd/% FORCE
206-
$(BUILD_BINARY)
206+
$(call BUILD_BINARY)
207207

208208
bin/containerd-shim: cmd/containerd-shim FORCE # set !cgo and omit pie for a static shim build: https://github.com/golang/go/issues/17789#issuecomment-258542220
209209
@echo "$(WHALE) bin/containerd-shim"

0 commit comments

Comments
 (0)