toolchain: clang: compiler opt: -Ofast -> -O3 -ffast-math
clang 20 does not like -Ofast. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
e4b4a8dfe8
commit
b8f3263df0
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ include(${ZEPHYR_BASE}/cmake/compiler/gcc/compiler_flags.cmake)
|
|||
# No property flag, clang doesn't understand fortify at all
|
||||
set_compiler_property(PROPERTY security_fortify_compile_time)
|
||||
set_compiler_property(PROPERTY security_fortify_run_time)
|
||||
set_compiler_property(PROPERTY optimization_fast -O3 -ffast-math)
|
||||
|
||||
# No printf-return-value optimizations in clang
|
||||
set_compiler_property(PROPERTY no_printf_return_value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue