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