summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCaleb Maclennan2020-05-27 14:10:18 +0300
committerCaleb Maclennan2020-05-27 14:10:18 +0300
commitf2a98d14d2cb6cb4a14d6c1f83b38d829fd0e7c1 (patch)
tree25cd2058fb7a8868d3497248f35c38033ed9f498 /PKGBUILD
parentbbd0068b28ad1e769dac1b63c3d33e0eed0f956c (diff)
downloadaur-f2a98d14d2cb6cb4a14d6c1f83b38d829fd0e7c1.tar.gz
Fix quoting of LDFLAGS passed to `go build`
* upgpkg: age 1.0.0.beta2-1 * upgpkg: gitlab-pages 1.18.0-2 * upgpkg: lab-git 0.17.2.r25.g885eea3-1 * upgpkg: lab 0.17.2-4 * upgpkg: node-prune 1.1.0-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d505d6b13a8d..38a9b2696385 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,7 +34,7 @@ build() {
-buildmode=pie \
-mod=readonly \
-modcacherw \
- -ldflags "-extldflags $LDFLAGS -X main.VERSION=$pkgver" \
+ -ldflags "-extldflags \"$LDFLAGS\" -X main.VERSION=$pkgver" \
.
}