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: [
|
default_options: [
|
||||||
'buildtype=debugoptimized',
|
'buildtype=debugoptimized',
|
||||||
'warning_level=1',
|
'warning_level=1',
|
||||||
'c_std=c99',
|
'c_std=gnu99',
|
||||||
],
|
],
|
||||||
meson_version: '>= 0.49.0')
|
meson_version: '>= 0.49.0')
|
||||||
|
|
||||||
|
@ -56,7 +56,6 @@ common_cflags = cc.get_supported_arguments([
|
||||||
'-DG_LOG_DOMAIN="@0@"'.format(meson.project_name()),
|
'-DG_LOG_DOMAIN="@0@"'.format(meson.project_name()),
|
||||||
])
|
])
|
||||||
c_cflags = cc.get_supported_arguments([
|
c_cflags = cc.get_supported_arguments([
|
||||||
'-std=gnu99',
|
|
||||||
'-Wimplicit-function-declaration',
|
'-Wimplicit-function-declaration',
|
||||||
'-Wmissing-prototypes',
|
'-Wmissing-prototypes',
|
||||||
'-Wnested-externs',
|
'-Wnested-externs',
|
||||||
|
|
Loading…
Reference in a new issue