From 9f1523c5584a64601b979cdbe4a1f405b583dd7c Mon Sep 17 00:00:00 2001 From: Alvaro Tinoco Marmol Date: Wed, 14 Feb 2024 17:16:42 +0100 Subject: [PATCH] build: disable function inlining --- .goreleaser.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index f2fbcf1..3c4ccbf 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -33,7 +33,8 @@ builds: flags: - -trimpath ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.ShortCommit}} -X main.date={{.CommitDate}} - + gcflags: + - all=-l -B mod_timestamp: '{{ .CommitTimestamp }}' main: ./cmd/termsvg