qemu_environ: set G_SLICE="always_malloc" for riscv64

this is a work around for often hanging processes eg. at
rust builds.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2023-08-09 19:58:03 +02:00
committed by Michael Tremer
parent 47b248f292
commit 763301c000

View File

@@ -767,8 +767,8 @@ qemu_environ() {
;;
riscv64)
QEMU_CPU="${QEMU_CPU:-sifive-u54}"
env="${env} QEMU_CPU=${QEMU_CPU}"
G_SLICE="always-malloc"
env="${env} QEMU_CPU=${QEMU_CPU} G_SLICE=${G_SLICE}"
;;
esac