[libdazzle: 1/4] build: Enable C99 support in meson.build
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle: 1/4] build: Enable C99 support in meson.build
- Date: Wed, 30 Aug 2017 02:14:17 +0000 (UTC)
commit 9e93c93297685a96ee597e780569857d2d738942
Author: Philip Withnall <withnall endlessm com>
Date: Mon Aug 21 11:25:28 2017 +0100
build: Enable C99 support in meson.build
We use C99 features (dzl-properties-group.c), so need to explicitly
enable them in meson.build, as some compilers will not enable them
automatically, and will instead error when they encounter usage of C99.
Signed-off-by: Philip Withnall <withnall endlessm com>
meson.build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index a4e9fc5..53f03de 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@ project('libdazzle', 'c',
version: '3.25.90',
license: 'GPLv3+',
meson_version: '>= 0.40.1',
- default_options: [ 'warning_level=1', 'buildtype=debugoptimized' ],
+ default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 'c_std=c99' ],
)
version_arr = meson.project_version().split('.')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]