From 9d9f450f475fa1fa0bf5efcddeccb24b2b68e929 Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Thu, 13 Aug 2026 16:40:47 +0900 Subject: Enable RISC-V BN assembly with autotools Recognize ELF riscv64 as an assembly-capable target so the architecture-specific BN helpers are used unless assembly is explicitly disabled. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 23f0c38..c10a33f 100644 --- a/configure.ac +++ b/configure.ac @@ -136,6 +136,8 @@ AM_CONDITIONAL([HOST_ASM_ELF_MIPS], [test "x$HOST_ABI" = "xelf" -a "$host_cpu" = "mips" -a "x$enable_asm" != "xno"]) AM_CONDITIONAL([HOST_ASM_ELF_MIPS64], [test "x$HOST_ABI" = "xelf" -a "$host_cpu" = "mips64" -a "x$enable_asm" != "xno"]) +AM_CONDITIONAL([HOST_ASM_ELF_RISCV64], + [test "x$HOST_ABI" = "xelf" -a "$host_cpu" = "riscv64" -a "x$enable_asm" != "xno"]) AM_CONDITIONAL([HOST_ASM_ELF_X86_64], [test "x$HOST_ABI" = "xelf" -a "$host_cpu" = "x86_64" -a "x$enable_asm" != "xno"]) AM_CONDITIONAL([HOST_ASM_MACOSX_X86_64], -- cgit v1.2.3-55-g6feb