summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-24 12:40:15 +0200
committerMatt Turner <mattst88@gmail.com>2022-10-27 18:21:37 +0000
commit1a0d50ce708548e1a192bc48015876aa4531eda8 (patch)
treeeeabf83326407aebca2a9611a6c0941f8f4aa4c3
parent0cf92877a9d206b6399358a53a83277eba4fa8f5 (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.build2
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()