George Hu pushed to branch main at Arch Linux / Packaging / Packages / sing-box


Commits:
fe341f4f by George Hu at 2026-08-13T15:09:22+08:00
Drop redundant `-g` options in associative array declarations

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -28,7 +28,7 @@ optdepends=('sing-geosite-rule-set: GeoSite rule sets'
             'sing-geoip-rule-set: GeoIP rule sets')
 backup=("etc/${pkgname}/config.json")
 
-declare -gA _system_libs=(
+declare -A _system_libs=(
     [brotli]=brotli
     [zlib]=zlib
     [zstd]=zstd
@@ -78,7 +78,7 @@ build() {
     export CC=clang
     export CXX=clang++
 
-    declare -gA _goarch_map=(
+    declare -A _goarch_map=(
         [x86_64]=amd64
         [aarch64]=arm64
         [loong64]=loong64



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sing-box/-/commit/fe341f4f85f2a61d4cc83c52859d950d46f0d761

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sing-box/-/commit/fe341f4f85f2a61d4cc83c52859d950d46f0d761
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to