Skip to content

Commit

Permalink
chore: add optional BUILD_TAGS to Makefile (#1237)
Browse files Browse the repository at this point in the history
# Background

This allow us to customize the build, for instance to build with muslc
instead of glibc.

# Testing completed

- [ ] test coverage exists or has been added/updated
- [ ] tested in a private testnet

# Breaking changes

- [ ] I have checked my code for breaking changes
- [ ] If there are breaking changes, there is a supporting migration.
  • Loading branch information
maharifu authored Jul 31, 2024
1 parent d0d3828 commit 5001d4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=paloma \
ldflags += $(LDFLAGS)
ldflags := $(strip $(ldflags))

build_tags += $(BUILD_TAGS)

BUILD_FLAGS := -tags "$(build_tags)" -ldflags '$(ldflags)'

build: go.sum
Expand Down

0 comments on commit 5001d4a

Please sign in to comment.