mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-22 21:21:43 +08:00
make: don't use the private modifier
1. We don't need it (technically). 2. TravisCI (well, Ubuntu Trusty) is using a 11 year old version of make without support for this feature. License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
@ -25,9 +25,9 @@ TRY_BUILD_$(d)=$(addprefix $(d)-try-build-,$(SUPPORTED_PLATFORMS))
|
||||
$(d)-try-build: $(TRY_BUILD_$(d))
|
||||
.PHONY: $(d)-try-build
|
||||
|
||||
$(TRY_BUILD_$(d)): private PLATFORM = $(subst -, ,$(patsubst $<-try-build-%,%,$@))
|
||||
$(TRY_BUILD_$(d)): private GOOS = $(word 1,$(PLATFORM))
|
||||
$(TRY_BUILD_$(d)): private GOARCH = $(word 2,$(PLATFORM))
|
||||
$(TRY_BUILD_$(d)): PLATFORM = $(subst -, ,$(patsubst $<-try-build-%,%,$@))
|
||||
$(TRY_BUILD_$(d)): GOOS = $(word 1,$(PLATFORM))
|
||||
$(TRY_BUILD_$(d)): GOARCH = $(word 2,$(PLATFORM))
|
||||
$(TRY_BUILD_$(d)): $(d) $$(DEPS_GO) ALWAYS
|
||||
GOOS=$(GOOS) GOARCH=$(GOARCH) $(go-try-build)
|
||||
.PHONY: $(TRY_BUILD_$(d))
|
||||
|
Reference in New Issue
Block a user