We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c6713a commit 17250d8Copy full SHA for 17250d8
src/rp2_common/pico_float/CMakeLists.txt
@@ -106,9 +106,10 @@
106
107
target_link_libraries(pico_float_none INTERFACE pico_float_headers)
108
wrap_float_functions(pico_float_none) # we wrap all functions
109
- # be explicit that there should be no floating point instructions
110
- target_compile_options(pico_float_none INTERFACE -msoft-float)
111
-
+ if (NOT PICO_RISCV)
+ # be explicit that there should be no floating point instructions
+ target_compile_options(pico_float_none INTERFACE -msoft-float)
112
+ endif()
113
pico_add_library(pico_float_pico)
114
if (PICO_RP2040)
115
target_sources(pico_float_pico INTERFACE
0 commit comments