From e5ed23208ddbf763a57187be921a587f94995138 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sat, 25 May 2024 20:49:07 -0400 Subject: [PATCH] Use the armv7 HF Rust toolchain --- src/fcmp/fcmp_rust/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fcmp/fcmp_rust/CMakeLists.txt b/src/fcmp/fcmp_rust/CMakeLists.txt index 1e4879ab0..d89d4e3b6 100644 --- a/src/fcmp/fcmp_rust/CMakeLists.txt +++ b/src/fcmp/fcmp_rust/CMakeLists.txt @@ -74,7 +74,8 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "(SunOS|Solaris)") else() set(RUST_PLATFORM "unknown-linux") if(RUST_ARCH MATCHES "armv7") - set(RUST_TOOLCHAIN "-gnueabi") + # Rust does support non-HF, yet Monero assumes HF for armv7 + set(RUST_TOOLCHAIN "-gnueabihf") else() set(RUST_TOOLCHAIN "-gnu") endif()