summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2020-07-24 23:26:20 +0100
committerPhilip Withnall <withnall@endlessm.com>2020-07-24 23:27:24 +0100
commit230c65517cfe829fb27a93f4a75ac48cc1044d38 (patch)
tree17bb2fb09e2eab09bb4bc9edafb410d79e8cf51f
parentbfdcd72d11c15d5aafd38e1e193fff5ae6c015d1 (diff)
downloadlibsoup-230c65517cfe829fb27a93f4a75ac48cc1044d38.tar.gz
build: Bump C standard from C89 to C99
This is not needed for libsoup itself at the moment, but is needed if sysprof is built as a subproject, because Meson doesn’t currently seem to support different C standards for subprojects. See: https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/131#note_873102 Signed-off-by: Philip Withnall <withnall@endlessm.com>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 80dc029b..62da6bf7 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@ project('libsoup', 'c',
version: '2.71.0',
meson_version : '>=0.50',
license : 'LGPL2',
- default_options : 'c_std=c89')
+ default_options : 'c_std=c99')
gnome = import('gnome')