diff options
author | Taco de Wolff | 2020-01-23 13:47:12 -0300 |
---|---|---|
committer | Taco de Wolff | 2020-01-23 13:47:12 -0300 |
commit | 06e5e086a5d71408df9326494fa2230e42e05b2f (patch) | |
tree | 7ce7806895b2728364f0885df214fea1340194ef | |
parent | 17159d3a95d57f53ab175e2d95d613bdf18e78e1 (diff) | |
download | aur-06e5e086a5d71408df9326494fa2230e42e05b2f.tar.gz |
Trim debug symbols from executable
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |