libstd-rs: Remove libunwind on riscv

riscv port of libunwind is not available yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2021-01-12 00:32:38 -08:00
parent e2979482dc
commit 47de35e153

View File

@@ -8,6 +8,10 @@ RUSTLIB_DEP = ""
inherit cargo
DEPENDS_append_libc-musl = " libunwind"
# rv32 does not have libunwind ported yet
DEPENDS_remove_riscv32 = "libunwind"
DEPENDS_remove_riscv64 = "libunwind"
# Needed so cargo can find libbacktrace
RUSTFLAGS += "-L ${STAGING_LIBDIR} -C link-arg=-Wl,-soname,libstd.so"