12345678910111213141516171819202122 |
- From 8ec291a9b65e5503952b502fc7e8eb4ad07ceeca Mon Sep 17 00:00:00 2001
- From: OpenEmbedded <oe.patch@oe>
- Date: Wed, 23 Aug 2023 05:37:49 +0000
- Subject: [PATCH] %% original patch: riscv-cross-compile-support.patch
- ---
- src/lj_arch.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/src/lj_arch.h b/src/lj_arch.h
- index 453414f3..09284829 100644
- --- a/src/lj_arch.h
- +++ b/src/lj_arch.h
- @@ -447,7 +447,7 @@
- #error "No support for RISC-V 32"
-
- #elif LUAJIT_TARGET == LUAJIT_ARCH_RISCV64
- -#if defined(__riscv_float_abi_double)
- +#if defined(__riscv_float_abi_double) | 1
-
- #define LJ_ARCH_NAME "riscv64"
- #define LJ_ARCH_BITS 64
|