cmake: xcc: do not use -fno-printf-return-value

XCC does not recognize -fno-printf-return-value as compiler
flag. So skip it.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2024-10-11 10:15:11 -07:00 committed by Anas Nashif
commit cc07117bca

View file

@ -15,3 +15,6 @@ set_compiler_property(PROPERTY no_position_independent "")
# Remove after testing that -Wshadow works
set_compiler_property(PROPERTY warning_shadow_variables)
# xcc does not recognize -fno-printf-return-value
set_compiler_property(PROPERTY no_printf_return_value)