diff options
author | BarbUk | 2020-04-16 09:30:08 +0400 |
---|---|---|
committer | BarbUk | 2020-04-16 09:30:08 +0400 |
commit | 9abce1cd980369f09b094c1167aa2af2719ae1c6 (patch) | |
tree | 7c77c52b99f04f8decd37f21fd43d2688ffe129d | |
parent | 70a451b5e0e54c7a5c23473c8c6e3c1f48e2736d (diff) | |
download | aur-9abce1cd980369f09b094c1167aa2af2719ae1c6.tar.gz |
Add -s and -w ldflags
-rw-r--r-- | PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ build() { cd $pkgname-$pkgver go build \ -trimpath \ - -ldflags "-X github.com/guumaster/hostctl/cmd.version=$pkgver -extldflags $LDFLAGS" \ + -ldflags "-X github.com/guumaster/hostctl/cmd.version=$pkgver -s -w -extldflags $LDFLAGS" \ -o $pkgname cmd/hostctl/main.go } |