summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTaco de Wolff2020-01-23 13:47:12 -0300
committerTaco de Wolff2020-01-23 13:47:12 -0300
commit06e5e086a5d71408df9326494fa2230e42e05b2f (patch)
tree7ce7806895b2728364f0885df214fea1340194ef /PKGBUILD
parent17159d3a95d57f53ab175e2d95d613bdf18e78e1 (diff)
downloadaur-minify.tar.gz
Trim debug symbols from executable
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index efeef2867ab..3619d8da898 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ sha256sums=('84c508dc0e7d3047f5aa5b7048c2bef61e3588958b3276d603a65fc84b592b00')
build() {
cd "$pkgname-$pkgver/cmd/minify"
- go build -ldflags "-X 'main.Version=v$pkgver' -extldflags $LDFLAGS" -trimpath -o minify .
+ go build -ldflags "-s -w -X 'main.Version=v$pkgver' -extldflags $LDFLAGS" -trimpath -o minify .
source minify_bash_tab_completion
}