mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
build-sys: add -Wwrite-strings
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
083ab26da8
commit
72fc810c30
2 changed files with 2 additions and 1 deletions
|
@ -16,6 +16,7 @@ add_project_arguments(
|
|||
'-Wredundant-decls',
|
||||
'-Wshadow',
|
||||
'-Wsuggest-attribute=format',
|
||||
'-Wwrite-strings',
|
||||
]),
|
||||
language: 'c'
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue