Skip to content

Commit

Permalink
add DEBUG mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovers committed Oct 9, 2021
1 parent e52c053 commit 8815f37
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export GO111MODULE=on
GithubTop=github.com


Version=v0.19.6
Version=v0.19.6.1
CosmosSDK=v0.39.2
Tendermint=v0.33.9
Iavl=v0.14.3
Expand Down Expand Up @@ -53,7 +53,11 @@ ldflags = -X $(GithubTop)/cosmos/cosmos-sdk/version.Version=$(Version) \
-X $(GithubTop)/cosmos/cosmos-sdk/types.MILESTONE_MERCURY_HEIGHT=$(MercuryHeight)


BUILD_FLAGS := -ldflags '$(ldflags)' -gcflags "all=-N -l"
BUILD_FLAGS := -ldflags '$(ldflags)'

ifeq ($(DEBUG),true)
BUILD_FLAGS += -gcflags "all=-N -l"
endif

all: install

Expand Down

0 comments on commit 8815f37

Please sign in to comment.