mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-05-24 21:37:51 -04:00
meson: add -Dfanalyzer=false|true
When enabled, compile with -fanalyzer
This commit is contained in:
parent
6183d1b767
commit
98c84e6326
2 changed files with 6 additions and 1 deletions
|
|
@ -96,7 +96,10 @@ add_project_arguments(
|
|||
cc.get_supported_arguments(
|
||||
['-pedantic',
|
||||
'-fstrict-aliasing',
|
||||
'-Wstrict-aliasing']),
|
||||
'-Wstrict-aliasing']) +
|
||||
(get_option('fanalyzer')
|
||||
? ['-fanalyzer']
|
||||
: []),
|
||||
language: 'c',
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue