Skip to content

Commit b519009

Browse files
committed
Add newlib to target triple
1 parent ca17f4e commit b519009

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arrayboundscheck/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ elseif(CONFIG_CPU_CORTEX_M)
1616
endif()
1717
elseif(CONFIG_RISCV)
1818
if(CONFIG_RISCV_ISA_RV32I)
19-
set(ldc_target riscv32-unknown-elf)
19+
set(ldc_target riscv32-unknown-newlib-elf)
2020
else()
2121
message(FATAL_ERROR "Unsupported riscv ISA")
2222
endif()

pthread/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ elseif(CONFIG_CPU_CORTEX_M)
1616
endif()
1717
elseif(CONFIG_RISCV)
1818
if(CONFIG_RISCV_ISA_RV32I)
19-
set(ldc_target riscv32-unknown-elf)
19+
set(ldc_target riscv32-unknown-newlib-elf)
2020
else()
2121
message(FATAL_ERROR "Unsupported riscv ISA")
2222
endif()

0 commit comments

Comments
 (0)