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:
Stephanos Ioannidis 2022-12-09 20:06:15 +09:00 committed by Christopher Friedt
commit a3b28ff0eb

View file

@ -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()