mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 16:11:22 +00:00
trivial: Turn off -fanalyzer by default
This has several false positives in Fedora 36 and also slows down the build considerably.
This commit is contained in:
parent
4b48b2ea27
commit
7180c8993e
@ -108,7 +108,7 @@ warning_flags = [
|
||||
'-Wvla',
|
||||
'-Wwrite-strings'
|
||||
]
|
||||
if host_machine.system() != 'windows'
|
||||
if get_option('static_analysis') and host_machine.system() != 'windows'
|
||||
warning_flags += ['-fanalyzer', '-Wno-analyzer-null-dereference']
|
||||
endif
|
||||
cc = meson.get_compiler('c')
|
||||
|
@ -1,5 +1,6 @@
|
||||
option('build', type : 'combo', choices : ['all', 'standalone', 'library'], value : 'all', description : 'build type')
|
||||
option('consolekit', type : 'boolean', value : true, description : 'enable ConsoleKit support')
|
||||
option('static_analysis', type : 'boolean', value : false, description : 'enable GCC static analysis support')
|
||||
option('firmware-packager', type : 'boolean', value : true, description : 'enable firmware-packager installation')
|
||||
option('docs', type : 'combo', choices : ['none', 'gtkdoc', 'docgen'], value : 'docgen', description : 'developer documentation type')
|
||||
option('introspection', type : 'boolean', value : true, description : 'generate GObject Introspection data')
|
||||
|
Loading…
Reference in New Issue
Block a user