hal: infineon: handle gcc flag
Move -Wno-array-bounds from being hardcoded to a compiler property Signed-off-by: Robin Kastberg <robin.kastberg@iar.com>
This commit is contained in:
parent
0661d65689
commit
da384651ec
5 changed files with 10 additions and 2 deletions
|
@ -249,6 +249,7 @@ set_compiler_property(PROPERTY no_position_independent
|
|||
set_compiler_property(PROPERTY no_global_merge "")
|
||||
|
||||
set_compiler_property(PROPERTY warning_shadow_variables -Wshadow)
|
||||
set_compiler_property(PROPERTY warning_no_array_bounds -Wno-array-bounds)
|
||||
|
||||
set_compiler_property(PROPERTY no_builtin -fno-builtin)
|
||||
set_compiler_property(PROPERTY no_builtin_malloc -fno-builtin-malloc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue