Build compiler-rt for llvm riscv
Summary During a cross-compile of compiler-rt for RISC-V, assembly files failed due to missing -march=rv64gc in compiler flags. The CMake configuration explicitly set CMAKE_C_FLAGS and CMAKE_CXX Desarrollo_FLAGS but didn’t propagate to .S assembly files, causing FPU instruction failures. Root Cause CMake’s language-specific flag handling: CMAKE_C_FLAGS/CMAKE_CXX_FLAGS apply to C/C++ sources only, not assembly (.S files). Assembly … Read more