mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 22:44:24 +00:00
Added flags '-s -w' to buildflags (#3742)
* Added flags '-s -w' to buildflags Signed-off-by: Marko Baricevic <marbar3778@yahoo.com> * added a condition for no strip * minor changes * on call discussions * on call discussion v2
This commit is contained in:
@@ -11,7 +11,8 @@ export GO111MODULE = on
|
||||
|
||||
INCLUDE = -I=. -I=${GOPATH}/src -I=${GOPATH}/src/github.com/gogo/protobuf/protobuf
|
||||
BUILD_TAGS?='tendermint'
|
||||
BUILD_FLAGS = -mod=readonly -ldflags "-X github.com/tendermint/tendermint/version.GitCommit=`git rev-parse --short=8 HEAD`"
|
||||
LD_FLAGS = -X github.com/tendermint/tendermint/version.GitCommit=`git rev-parse --short=8 HEAD` -s -w
|
||||
BUILD_FLAGS = -mod=readonly -ldflags "$(LD_FLAGS)"
|
||||
|
||||
all: check build test install
|
||||
|
||||
|
||||
Reference in New Issue
Block a user