






















Hi, it would not compile for my LDFLAGS.
Needed to change:
- go build -buildmode=pie -ldflags "-linkmode=external -extldflags=$LDFLAGS -X main.version=${pkgver}"
+ go build -buildmode=pie -ldflags "-linkmode=external -extldflags \"$LDFLAGS\" -X main.version=${pkgver}"
Hi, You can change: arch=('x86_64') into arch=('any')
Then it's work on ARM CPU, tested
needs "options=(!lto)" fails to compile
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
This package builds binary compiled files, so arch=('any') cannot be used. It should be changed back to arch=('x86_64'). The user can use the -A/--ignorearch makepkg option, directly or indirectly, to build for example for ARM.