From abf6f79ccf0c5597f65315fa754ebe3e3496ee34 Mon Sep 17 00:00:00 2001 From: Kino Date: Thu, 16 Jan 2025 13:28:31 +0800 Subject: [PATCH] addpatch: choria-io --- choria-io/riscv64.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 choria-io/riscv64.patch diff --git a/choria-io/riscv64.patch b/choria-io/riscv64.patch new file mode 100644 index 000000000..0f14af2a8 --- /dev/null +++ b/choria-io/riscv64.patch @@ -0,0 +1,13 @@ +--- PKGBUILD ++++ PKGBUILD +@@ -32,8 +32,8 @@ export CGO_CXXFLAGS="${CXXFLAGS}" + # we cannot add `-mod=readonly` to GOFLAGS because that would break `go generate` + export GOFLAGS="-buildmode=pie -trimpath" + export GOOS='linux' +-export GOARCH='amd64' +-export XC_OSARCH='linux/amd64' ++export GOARCH='riscv64' ++export XC_OSARCH='linux/riscv64' + + prepare() { + cd "${srcdir}/go-choria-${pkgver}"