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:
parent
c2e0bef26e
commit
fe1beaa616
1 changed files with 2 additions and 3 deletions
5
Makefile
5
Makefile
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue