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:
parent
c70a619a2f
commit
cc07117bca
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue