summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-05-27 14:10:18 +0300
committerCaleb Maclennan2020-05-27 14:10:18 +0300
commit6771f1ac1f7f430c5e725311e25ae9949d039b94 (patch)
tree1ffe505209b719b68def3c05661a7a2864500684
parent5e92318c56a9b83f94aa51a5b8b46d5ff31b4cf9 (diff)
downloadaur-6771f1ac1f7f430c5e725311e25ae9949d039b94.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
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c8ad3bcd1335..1d33b96c410b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,7 +29,7 @@ build () {
-buildmode=pie \
-mod=readonly \
-modcacherw \
- -ldflags "-extldflags ${LDFLAGS} -X main.version=$pkgver" \
+ -ldflags "-extldflags \"$LDFLAGS\" -X main.version=$pkgver" \
.
./lab completion bash > completion.bash
./lab completion zsh > completion.zsh