cmake: add riscv-none-elf- as valid gcc prefix

The previous commit 05858be didn't actually add it to both instances
of the if/else statement, and so doesn't actually work in all cases
(e.g. with `../init-build.sh`).

Signed-off-by: julia <git.ts@trainwit.ch>
This commit is contained in:
julia
2025-02-02 17:25:47 +11:00
committed by Indan Zupancic
parent 974e9ffb2e
commit d96b447826

View File

@@ -74,6 +74,7 @@ if("${CROSS_COMPILER_PREFIX}" STREQUAL "")
CROSS_COMPILER_PREFIX
"riscv64-unknown-linux-gnu-"
"riscv64-unknown-elf-"
"riscv64-none-elf-"
"riscv64-elf-"
)
endif()