treewide: Use CONFIG_CPP_RTTI instead of CONFIG_RTTI
This commit updates all in-tree code to use `CONFIG_CPP_RTTI` instead of `CONFIG_RTTI`, which is now deprecated. Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
This commit is contained in:
parent
45ba8d5787
commit
a3b28ff0eb
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ if(NOT CONFIG_CPP_EXCEPTIONS)
|
||||||
zephyr_compile_options($<$<COMPILE_LANGUAGE:CXX>:$<TARGET_PROPERTY:compiler-cpp,no_exceptions>>)
|
zephyr_compile_options($<$<COMPILE_LANGUAGE:CXX>:$<TARGET_PROPERTY:compiler-cpp,no_exceptions>>)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT CONFIG_RTTI)
|
if(NOT CONFIG_CPP_RTTI)
|
||||||
# @Intent: Obtain compiler specific flags related to C++ Run Time Type Information
|
# @Intent: Obtain compiler specific flags related to C++ Run Time Type Information
|
||||||
zephyr_compile_options($<$<COMPILE_LANGUAGE:CXX>:$<TARGET_PROPERTY:compiler-cpp,no_rtti>>)
|
zephyr_compile_options($<$<COMPILE_LANGUAGE:CXX>:$<TARGET_PROPERTY:compiler-cpp,no_rtti>>)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue