Skip to content

Commit

Permalink
build: update linux-amd64 linker flags (#3174)
Browse files Browse the repository at this point in the history
  • Loading branch information
MSalopek committed Jun 25, 2024
1 parent 2b50045 commit 38f88be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ builds:
- -X github.com/cosmos/cosmos-sdk/version.BuildTags=netgo,ledger,muslc,osusergo
- -w -s
- -linkmode=external
- -extldflags '-Wl,-z,muldefs -static'
- -extldflags '-Wl,-z,muldefs -static -lm'
tags:
- netgo
- ledger
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ goreleaser-build-local:
--snapshot \
--skip=publish \
--release-notes ./RELEASE_NOTES.md \
--timeout 90m \
--debug

# uses goreleaser to create static binaries for linux an darwin
Expand All @@ -206,6 +207,7 @@ ci-release:
$(GORELEASER_IMAGE) \
release \
--release-notes ./RELEASE_NOTES.md \
--timeout=90m \
--clean
else
ci-release:
Expand Down

0 comments on commit 38f88be

Please sign in to comment.