diff options
author | Simon Ser <contact@emersion.fr> | 2022-10-24 12:40:15 +0200 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2022-10-27 18:21:37 +0000 |
commit | 1a0d50ce708548e1a192bc48015876aa4531eda8 (patch) | |
tree | eeabf83326407aebca2a9611a6c0941f8f4aa4c3 | |
parent | 0cf92877a9d206b6399358a53a83277eba4fa8f5 (diff) |
meson: explicitly set C standard to gnu99
This explicitly indicates that GNU extensions (like asm) are used.
This fixes build errors when Pixman is used as a Meson subproject.
Signed-off-by: Simon Ser <contact@emersion.fr>
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index aa641d2..3d1f016 100644 --- a/meson.build +++ b/meson.build @@ -24,7 +24,7 @@ project( version : '0.42.1', license : 'MIT', meson_version : '>= 0.52.0', - default_options : ['buildtype=debugoptimized'], + default_options : ['c_std=gnu99', 'buildtype=debugoptimized'], ) config = configuration_data() |