diff options
| author | Simon Ser <contact@emersion.fr> | 2022-01-10 14:54:02 +0100 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2022-01-10 15:08:46 +0100 |
| commit | 40c275f642e3895aeb748403fcdfd92d7d875d65 (patch) | |
| tree | 26ffd167c765dd84d0104ec757a15739ee45b658 /meson.build | |
| parent | build: don't rely on implicit GNU extensions (diff) | |
| download | wayland-40c275f642e3895aeb748403fcdfd92d7d875d65.tar wayland-40c275f642e3895aeb748403fcdfd92d7d875d65.tar.gz wayland-40c275f642e3895aeb748403fcdfd92d7d875d65.tar.bz2 wayland-40c275f642e3895aeb748403fcdfd92d7d875d65.tar.lz wayland-40c275f642e3895aeb748403fcdfd92d7d875d65.tar.xz wayland-40c275f642e3895aeb748403fcdfd92d7d875d65.tar.zst wayland-40c275f642e3895aeb748403fcdfd92d7d875d65.zip | |
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>
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index cab267e..e9691ff 100644 --- a/meson.build +++ b/meson.build @@ -5,7 +5,8 @@ project( meson_version: '>= 0.52.1', default_options: [ 'warning_level=2', - 'buildtype=debugoptimized' + 'buildtype=debugoptimized', + 'c_std=c99', ] ) wayland_version = meson.project_version().split('.') |
