summaryrefslogtreecommitdiffstats
path: root/source-builder/config/glib-2-1.cfg
diff options
context:
space:
mode:
authorMartin Erik Werner <martinerikwerner@gmail.com>2018-11-17 16:22:49 +0100
committerJoel Sherrill <joel@rtems.org>2020-03-20 11:50:28 -0500
commitf93fcef875560f6a8ac7a3a541e4a96f73751553 (patch)
treee0b2b6a68793f19de3d1a2c6ad1849c88d70039a /source-builder/config/glib-2-1.cfg
parent6: Update unstable RTEMS 6 tool chain (diff)
downloadrtems-source-builder-f93fcef875560f6a8ac7a3a541e4a96f73751553.tar.bz2
qemu: Update glib to build on newer gcc
Update the glib version to 2.48.2 in order to fix build failure on newer gcc[0]. Force internal version of libpcre for glib, since otherwise the build failed, presumably since libpcre is not provided as a module (maybe it should?). Increasing the glib version further to the current latest was not tested. [0] CC libglib_2_0_la-gdate.lo ../../glib-2.39.3/glib/gdate.c: In function 'g_date_strftime': ../../glib-2.39.3/glib/gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral] tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm); ^~~~~~
Diffstat (limited to '')
-rw-r--r--source-builder/config/glib-2-1.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/source-builder/config/glib-2-1.cfg b/source-builder/config/glib-2-1.cfg
index 16a51fe..09b43fa 100644
--- a/source-builder/config/glib-2-1.cfg
+++ b/source-builder/config/glib-2-1.cfg
@@ -59,7 +59,8 @@ URL: https://developer.gnome.org/glib/
--datadir=%{_datadir} \
--build=%{_build} --host=%{_host} \
--with-sysroot=$SYSROOT \
- --disable-dtrace
+ --disable-dtrace \
+ --with-pcre=internal
%{_ld_library_path}=$SYSROOT/lib \
%{__make} %{?_smp_mflags} all