diff options
author | Adam Jackson <ajax@redhat.com> | 2017-09-27 14:31:37 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-10-04 11:19:13 -0400 |
commit | 712b02ec72b98291b78e17dcb1073a13c4a1086e (patch) | |
tree | 84457d4656cbfd571ecab5effa525069c0c99b02 | |
parent | 041f25afa81dfc7e7ef350d5b955d2d5912846c9 (diff) |
meson: Default to gnu99
We don't really require all of C99, but enough that it's not worth
bothering with the distinction, especially if your toolchain is new
enough that meson is a thing for you. We could do strict C99 if we
really insisted on spelling it __typeof__, but who wants that? Nobody,
that's who.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r-- | meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 26fd9a893..811d3d4ce 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,8 @@ project('xserver', 'c', - default_options: ['buildtype=debugoptimized'], + default_options: [ + 'buildtype=debugoptimized', + 'c_std=gnu99', + ], version: '1.19.99.1', meson_version: '>= 0.40.0', ) |