From e49d37346fd90f0bb24d831439c907e75e4bb81b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mallas=C3=A9n=20Quintana?= Date: Tue, 16 Apr 2024 09:42:15 +0200 Subject: [PATCH] Remove mabi from clang compilation flow (#482) This limits the compilation capabilities when using the clang compiler. More information on this flag can be found here: https://gcc.gnu.org/onlinedocs/gcc/RISC-V-Options.html --- sw/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/sw/CMakeLists.txt b/sw/CMakeLists.txt index ef5743c66..aa430e231 100644 --- a/sw/CMakeLists.txt +++ b/sw/CMakeLists.txt @@ -328,7 +328,6 @@ set(CMAKE_C_FLAGS ${COMPILER_LINKER_FLAGS}) if (${COMPILER} MATCHES "clang") set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --target=riscv32 \ - -mabi=ilp32 \ --gcc-toolchain=${RISCV} \ --sysroot=${RISCV}/${COMPILER_PREFIX}elf \ -static \