cmake clang/compiler_flags.cmake: Clarify comment for native targets

Correct the comment for native targets.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2024-03-18 14:08:11 +01:00 committed by Alberto Escolar
commit 996377340a

View file

@ -10,8 +10,8 @@ set_compiler_property(PROPERTY security_fortify_run_time)
# No printf-return-value optimizations in clang
set_compiler_property(PROPERTY no_printf_return_value)
# No property flag, this is used by the native_posix, clang has problems
# compiling the native_posix with -fno-freestanding.
# No property flag, this is used by the POSIX arch based targets when building with the host libC,
# But clang has problems compiling these with -fno-freestanding.
check_set_compiler_property(PROPERTY hosted)
# clang flags for coverage generation