tce-load -i compiletc meson pcre21042-dev gettext-dev perl5 libffi-dev wget https://download.gnome.org/sources/glib/2.78/glib-2.78.4.tar.xz wget https://www.linuxfromscratch.org/patches/blfs/svn/glib-skip_warnings-1.patch cd glib-2.78.4 patch -Np1 -i ../glib-skip_warnings-1.patch mkdir build cd build CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" meson --prefix=/usr/local --localstatedir=/var --libexecdir=/usr/local/lib/glib-2.0 --buildtype=plain -Dselinux=disabled -Dman=false -Dlibmount=disabled -Druntime_dir=/var/run ninja [3m 5.80s] sudo ninja install glib 2.78.4 Build environment host cpu : x86_64 host endian : little host system : linux C Compiler : gcc C++ Compiler : gcc shared build : True static build : False Directories prefix : /usr/local bindir : /usr/local/bin libexecdir : /usr/local/lib/glib-2.0 pkgdatadir : /usr/local/share/glib-2.0 datadir : /usr/local/share includedir : /usr/local/include/glib-2.0 giomodulesdir : /usr/local/lib/gio/modules localstatedir : /var runstatedir : /var/run Options selinux : False libmount : False xattr : False man : False dtrace : False systemtap : False sysprof : False gtk_doc : False bsymbolic_functions: True force_posix_threads: False tests : True installed_tests : False nls : auto oss_fuzz : disabled glib_debug : auto glib_assert : True glib_checks : True libelf : auto multiarch : False Subprojects gvdb : YES User defined options buildtype : plain libexecdir : /usr/local/lib/glib-2.0 localstatedir : /var prefix : /usr/local libmount : disabled man : false runtime_dir : /var/run selinux : disabled