mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-02-18 04:15:15 +00:00
make: autodetect host platform (#2322)
--- *Sponsored by Kithara Software GmbH*
This commit is contained in:
parent
c973099c99
commit
76f932878c
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -1,7 +1,7 @@
|
||||||
GO_PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
|
GO_PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
|
||||||
|
|
||||||
TARGETOS ?= linux
|
TARGETOS ?= $(shell go env GOOS)
|
||||||
TARGETARCH ?= amd64
|
TARGETARCH ?= $(shell go env GOARCH)
|
||||||
|
|
||||||
BIN_SUFFIX :=
|
BIN_SUFFIX :=
|
||||||
ifeq ($(TARGETOS),windows)
|
ifeq ($(TARGETOS),windows)
|
||||||
|
|
Loading…
Reference in a new issue