diff options
author | Philip Withnall <withnall@endlessm.com> | 2017-08-14 22:54:36 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2017-08-15 07:22:05 +0100 |
commit | 2be870a02497f9f66349a041a735fb2bff2a054c (patch) | |
tree | 86bb3665be1805ce3f39e07a67a66abe98cf330e | |
parent | 9df56f26f047e6f59be5265cf97eb54a41f6a94e (diff) | |
download | appstream-glib-2be870a02497f9f66349a041a735fb2bff2a054c.tar.gz |
build: Enable C99 support in meson.build
We use C99 features (various places in as-app-validate.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>
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 3fc14fc..414cf56 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project('appstream-glib', 'c', version : '0.7.2', license : 'LGPL-2.1+', - default_options : ['warning_level=1'], + default_options : ['warning_level=1', 'c_std=c99'], meson_version : '>=0.37.0' ) |