Skip to content

Commit

Permalink
Merge pull request #130 from onomyprotocol/pr129
Browse files Browse the repository at this point in the history
Pr129  - Consume LDFLAGS in Makefile - Strangelove
  • Loading branch information
cgdusek authored Feb 6, 2023
2 parents 12645dd + ea7fd0b commit 71a6190
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=onomy \
-X github.com/cosmos/cosmos-sdk/version.AppName=onomy \
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" \

-X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)"
ldflags += $(LDFLAGS)
ldflags := $(strip $(ldflags))
BUILD_FLAGS := -ldflags '$(ldflags)' -gcflags="all=-N -l"

.PHONY: all
Expand Down

0 comments on commit 71a6190

Please sign in to comment.