compiler/xcc: Remove -Werror flag unknown to XCC
XCC (based on GCC 4.2) doesn't recognize -Wvla (for variable-length array), so remove it from "warning_error_misra_sane" property. Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
This commit is contained in:
parent
58d928932a
commit
780bc430e3
1 changed files with 2 additions and 0 deletions
|
@ -18,4 +18,6 @@ else()
|
|||
# time. Suppress the warning, it's the best we can do given that
|
||||
# it's a legacy compiler.
|
||||
set_compiler_property(APPEND PROPERTY warning_base "-fgnu89-inline")
|
||||
|
||||
set_compiler_property(PROPERTY warning_error_misra_sane)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue