mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
meson: Use gnu99 as default C standard
This commit is contained in:
committed by
Benjamin Berg
parent
82ba69b1df
commit
15a90eb451
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user