We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e42b3d6 commit c6e4890Copy full SHA for c6e4890
1 file changed
cmake/pulp/toolchain_llvm.cmake
@@ -19,6 +19,7 @@ set(CMAKE_EXECUTABLE_SUFFIX ".elf")
19
add_compile_options(
20
-target riscv32-unknown-elf
21
-march=${ISA}
22
+ -mabi=ilp32f
23
-ffunction-sections
24
-fdata-sections
25
-fomit-frame-pointer
@@ -38,8 +39,9 @@ add_link_options(
38
39
-MP
40
-nostartfiles
41
42
43
-L${TOOLCHAIN_INSTALL_DIR}/picolibc/riscv/rv32imf/lib
- -L${TOOLCHAIN_INSTALL_DIR}/lib/clang/15.0.0/lib/baremetal/rv32imc/
44
+ -L${TOOLCHAIN_INSTALL_DIR}/lib/clang/15.0.0/lib/baremetal/rv32imf/
45
-z norelro
46
-fno-builtin-memcpy
47
-fno-builtin-memset
@@ -50,4 +52,4 @@ link_libraries(
50
52
)
51
53
54
add_compile_definitions(__LINK_LD)
-add_compile_definitions(__TOOLCHAIN_LLVM__)
55
+add_compile_definitions(__TOOLCHAIN_LLVM__)
0 commit comments