Skip to content

Commit fb07875

Browse files
committed
cmake: Allow -Os on RISC-V again
The previously detected regressions when building with -Os on RISC-V have been resolved. Signed-off-by: Keith Packard <[email protected]>
1 parent f016697 commit fb07875

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmake/zephyr/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ config PICOLIBC_DEFAULT
2727
# gcc 14.3 has bugs compiling with -Os on riscv
2828
choice COMPILER_OPTIMIZATIONS
2929
default SPEED_OPTIMIZATIONS if ("$(TOOLCHAIN_VARIANT_COMPILER)" = "gnu") && CPP_EXCEPTIONS
30-
default SPEED_OPTIMIZATIONS if ("$(TOOLCHAIN_VARIANT_COMPILER)" = "gnu") && RISCV
3130
endchoice

0 commit comments

Comments
 (0)