mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-18 05:00:03 +02:00
Makefile: use $GO variable when setting GOOS and GOARCH
This commit is contained in:
parent
9814f07612
commit
318d14f44b
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -4,8 +4,8 @@ export PROGRAM_VERSION = 1.4.1
|
|||
|
||||
GO = go
|
||||
PREFIX = /usr/local
|
||||
export GOOS = $(shell go env GOOS)
|
||||
export GOARCH = $(shell go env GOARCH)
|
||||
export GOOS = $(shell $(GO) env GOOS)
|
||||
export GOARCH = $(shell $(GO) env GOARCH)
|
||||
GOBUILDFLAGS = -v -ldflags='-v -s -w -X main.VersionString=$(PROGRAM_VERSION)'
|
||||
|
||||
DPKG_BUILDPACKAGE = dpkg-buildpackage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue