meson: Use gnu99 as default C standard
This commit is contained in:
parent
82ba69b1df
commit
15a90eb451
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,7 @@ project('libfprint', [ 'c', 'cpp' ],
|
|||
default_options: [
|
||||
'buildtype=debugoptimized',
|
||||
'warning_level=1',
|
||||
'c_std=c99',
|
||||
'c_std=gnu99',
|
||||
],
|
||||
meson_version: '>= 0.49.0')
|
||||
|
||||
|
@ -56,7 +56,6 @@ common_cflags = cc.get_supported_arguments([
|
|||
'-DG_LOG_DOMAIN="@0@"'.format(meson.project_name()),
|
||||
])
|
||||
c_cflags = cc.get_supported_arguments([
|
||||
'-std=gnu99',
|
||||
'-Wimplicit-function-declaration',
|
||||
'-Wmissing-prototypes',
|
||||
'-Wnested-externs',
|
||||
|
|
Loading…
Reference in a new issue