From 19a8742616f5f254a04ae3c0344cee7035ff7df7 Mon Sep 17 00:00:00 2001 From: Jia Yuan Lo Date: Thu, 21 Nov 2024 12:27:42 +0800 Subject: [PATCH] Add support for riscv64 --- termux-exec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/termux-exec.c b/termux-exec.c index 1f8037d..774f8ce 100644 --- a/termux-exec.c +++ b/termux-exec.c @@ -26,6 +26,8 @@ # define EM_NATIVE EM_X86_64 #elif defined(__i386__) # define EM_NATIVE EM_386 +#elif defined(__riscv) +# define EM_NATIVE EM_RISCV #else # error "unknown arch" #endif