diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2021-07-01 22:09:23 +0200 |
---|---|---|
committer | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2021-07-01 22:09:23 +0200 |
commit | 5c3d431bdb094c59997f2a23e31e83f815ab667c (patch) | |
tree | 7206ed8829667ec2f671e5b1e4a003418f27b145 | |
parent | 74266050a12c95b60e3d37fd5af2090497ddda5c (diff) | |
download | libsoup-5c3d431bdb094c59997f2a23e31e83f815ab667c.tar.gz |
meson.build: set c_std to gnu99
Set c_std to gnu99 to avoid the following build failure with gcc 4.8:
In file included from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/resolv.h:65:0,
from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/glib-2.0/gio/gnetworking.h:40,
from ../libsoup/soup-address.c:14:
/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/arpa/nameser.h:115:2: error: unknown type name 'u_char'
const u_char *_msg, *_eom;
^
Fixes:
- http://autobuild.buildroot.org/results/56b9cb987e25b99d6fed16c537552f47c3376f21
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 4dfd8c15..a5ebc63a 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,7 @@ project('libsoup', 'c', meson_version : '>= 0.53', license : 'LGPL2', default_options : [ - 'c_std=c99', + 'c_std=gnu99', 'warning_level=2', ]) |