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}"