tce-load -i compiletc gdk-pixbuf-dev pango-dev gobject-introspection-dev perl5 pango-gir gdk-pixbuf-gir gst-plugins-base-dev gst-plugins-base-gir libXcomposite-dev automake https://ftp.acc.umu.se/pub/GNOME/sources/cogl/1.22/cogl-1.22.6.tar.xz http://www.linuxfromscratch.org/patches/blfs/svn/cogl-1.22.6-mesa_20_fixes-1.patch cd cogl-1.22.6 patch -Np1 -i ../cogl-1.22.6-mesa_20_fixes-1.patch CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-gles1 --enable-gles2 --enable-cogl-gst=yes --enable-kms-egl-platform --enable-wayland-egl-platform --enable-xlib-egl-platform --enable-wayland-egl-server find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [6m 3.00s] sudo make install Cogl - 1.22.6/2.0.0 (git) βΆ Global: Prefix: /usr/local βΆ Features: Drivers: gles1 gles2 gl Library name for GLES1: libGLESv1_CM.so Library name for GLES2: libGLESv2.so Library name for GL: libGL.so.1 GL Window System APIs: glx egl EGL Platforms: wayland kms xlib Wayland compositor support: yes Building for emscripten environment: no Build libcogl-gles2 GLES 2.0 frontend api: yes Image backend: gdk-pixbuf Cogl Pango: yes Cogl Gstreamer: yes Cogl Path: yes βΆ Build options: Debugging: yes Profiling: no Enable deprecated symbols: no Compiler flags: -g -O2 -DCOGL_GL_DEBUG -DCOGL_OBJECT_DEBUG -DCOGL_ENABLE_DEBUG -Wall -Wcast-align -Wformat -Wformat-security -Werror=uninitialized -Werror=empty-body -Werror=init-self -Werror=undef -Werror=declaration-after-statement -Werror=vla -Werror=pointer-arith -Werror=missing-declarations -Werror=maybe-uninitialized -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES Linker flags: βΆ Extra: Build API reference: no Build introspection data: auto Build unit tests: yes Enable internationalization: yes