summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoreveryx2022-12-07 08:52:19 +0800
committereveryx2022-12-07 08:52:19 +0800
commit8981f362ccf04ae5d3a8b8650ede72c64dedf1d9 (patch)
treefb3f72d98ecfd2da5aee5572a88f25f611057871 /PKGBUILD
parent6e4383b069b4471bfef7b5bb75a9fe5823c40c81 (diff)
downloadaur-8981f362ccf04ae5d3a8b8650ede72c64dedf1d9.tar.gz
fix: add `-buildid=` ldflags
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4975245bb643..2ee3653a2514 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=sing-box
pkgver=1.1
-pkgrel=4
+pkgrel=5
pkgdesc='The universal proxy platform.'
arch=('x86_64' 'i686')
@@ -36,7 +36,7 @@ build(){
-mod=readonly \
-modcacherw \
-tags "$_tags" \
- -ldflags '-linkmode=external -w -s' \
+ -ldflags '-s -w -buildid= -linkmode=external' \
./cmd/sing-box
sed -i "/^\[Service\]$/a User=${pkgname}