1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-17 04:50:02 +02:00

Makefile: remove GOCCFLAGS and GOLDFLAGS in favor for GOBUILDFLAGS

This commit is contained in:
Henrik Hautakoski 2022-08-21 20:03:03 +02:00
parent c2e0bef26e
commit fe1beaa616
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

View file

@ -1,11 +1,10 @@
GO = go
GOCCFLAGS = -v
GOLDFLAGS = -ldflags="-s -w"
PREFIX = /usr/local
PROGRAM_NAME=eosio-api-healthcheck
export GOOS = $(shell go env GOOS)
export GOARCH = $(shell go env GOARCH)
GOBUILDFLAGS = -v -ldflags='-v -s -w'
DPKG_BUILDPACKAGE = dpkg-buildpackage
DPKG_BUILDPACKAGE_FLAGS = -us -uc
@ -17,7 +16,7 @@ all: build
build: build/$(PROGRAM_NAME)
build/$(PROGRAM_NAME) : $(SOURCES)
$(GO) build -o $@ $(GOCCFLAGS) $(GOLDFLAGS) $^
$(GO) build -o $@ $(GOBUILDFLAGS) $^
$(GO) env > build/.buildinfo
test: