Skip to content
Snippets Groups Projects
Verified Commit 6de44c79 authored by Clayton Craft's avatar Clayton Craft :speech_balloon:
Browse files

cross/crossdirect: support riscv64 (MR 6054)

parent 102863b3
No related branches found
No related tags found
1 merge request!6054pmb:crossdirect: support riscv64
......@@ -20,7 +20,7 @@
pkgname=crossdirect
pkgver=5.2.0
pkgrel=0
pkgrel=1
pkgdesc="Wrappers to launch native cross compilers in foreign chroots"
url="https://postmarketOS.org"
arch="all"
......@@ -31,7 +31,7 @@ source="cargo.sh crossdirect.c rustc.sh rust-qemu-linker.sh"
build() {
cd "$srcdir"
# Architectures and binaries
_archs="x86_64 armhf armv7 aarch64"
_archs="x86_64 armhf armv7 aarch64 riscv64"
for _arch in $_archs; do
[ "$_arch" == "$CARCH" ] && continue
_hostspec="$(arch_to_hostspec $_arch)"
......@@ -48,7 +48,7 @@ build() {
package() {
# Architectures and binaries
_archs="x86_64 armhf armv7 aarch64"
_archs="x86_64 armhf armv7 aarch64 riscv64"
_bins="c++ cc cpp g++ gcc clang clang++"
# Rust wrappers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment