mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-15 05:34:36 -04:00
build: set c_std=c99
Set explicitly the C standard to use to make sure we don't use features not available on our target platforms. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
0d314c4a04
commit
40c275f642
1 changed files with 2 additions and 1 deletions
|
|
@ -5,7 +5,8 @@ project(
|
||||||
meson_version: '>= 0.52.1',
|
meson_version: '>= 0.52.1',
|
||||||
default_options: [
|
default_options: [
|
||||||
'warning_level=2',
|
'warning_level=2',
|
||||||
'buildtype=debugoptimized'
|
'buildtype=debugoptimized',
|
||||||
|
'c_std=c99',
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
wayland_version = meson.project_version().split('.')
|
wayland_version = meson.project_version().split('.')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue