From 38f88be7693bd8c1799d180880172cf31519eabc Mon Sep 17 00:00:00 2001 From: MSalopek Date: Tue, 25 Jun 2024 18:25:50 +0200 Subject: [PATCH] build: update linux-amd64 linker flags (#3174) --- .goreleaser.yml | 2 +- Makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index b4d81619f2c..1438d73add0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -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 diff --git a/Makefile b/Makefile index 04fe6047f19..56e42f86b89 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ -206,6 +207,7 @@ ci-release: $(GORELEASER_IMAGE) \ release \ --release-notes ./RELEASE_NOTES.md \ + --timeout=90m \ --clean else ci-release: