tce-load -i gdk-pixbuf2-dev pango-dev gobject-introspection-dev glib2-python perl5 pango-gir gdk-pixbuf2-gir gst-plugins-base-dev cd cogl-1.16.0 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --enable-gles1 --enable-gles2 --enable-cogl-gst=yes find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make make install Cogl - 1.16.0/2.0.0 (release) βΆ 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: xlib Wayland compositor support: no 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: no Profiling: no Enable deprecated symbols: yes Compiler flags: -g -O2 -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS Linker flags: βΆ Extra: Build API reference: no Build introspection data: auto Build unit tests: yes Enable internationalization: yes