1
0
Fork 0
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:
Henrik Hautakoski 2023-02-07 16:29:31 +01:00
parent 9814f07612
commit 318d14f44b
No known key found for this signature in database
GPG key ID: 217490840C18A5D9

View file

@ -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