Skip to content

Commit

Permalink
Force purge go name resolution (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
devfans authored Mar 11, 2022
1 parent b07dfc3 commit f2c2a6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ DOCKER_TAG=$(ARCH)-$(VERSION)

UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
BUILD_NODE_PAR = -ldflags '-w -extldflags "-static -lm" -X github.com/polynetwork/poly/common/config.Version=$(VERSION) -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn' #-race
BUILD_NODE_PAR = -tags netgo -ldflags '-w -extldflags "-static -lm" -X github.com/polynetwork/poly/common/config.Version=$(VERSION) -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn' #-race
else
BUILD_NODE_PAR = -ldflags '-X github.com/polynetwork/poly/common/config.Version=$(VERSION) -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn' #-race
BUILD_NODE_PAR = -tags netgo -ldflags '-X github.com/polynetwork/poly/common/config.Version=$(VERSION) -X google.golang.org/protobuf/reflect/protoregistry.conflictPolicy=warn' #-race
endif

SRC_FILES = $(shell git ls-files | grep -e .go$ | grep -v _test.go)
Expand Down

0 comments on commit f2c2a6b

Please sign in to comment.