mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-07-03 11:53:43 +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
|
GO = go
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
export GOOS = $(shell go env GOOS)
|
export GOOS = $(shell $(GO) env GOOS)
|
||||||
export GOARCH = $(shell go env GOARCH)
|
export GOARCH = $(shell $(GO) env GOARCH)
|
||||||
GOBUILDFLAGS = -v -ldflags='-v -s -w -X main.VersionString=$(PROGRAM_VERSION)'
|
GOBUILDFLAGS = -v -ldflags='-v -s -w -X main.VersionString=$(PROGRAM_VERSION)'
|
||||||
|
|
||||||
DPKG_BUILDPACKAGE = dpkg-buildpackage
|
DPKG_BUILDPACKAGE = dpkg-buildpackage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue