Use the armv7 HF Rust toolchain

This commit is contained in:
Luke Parker 2024-05-25 20:49:07 -04:00 committed by j-berman
parent 03679d1342
commit e5ed23208d

View File

@ -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()