tce-load -i compiletc gobject-introspection-dev babl-dev json-glib-dev gexiv2-dev pango-dev gdk-pixbuf2-dev librsvg-dev lensfun-dev libv4l2-dev openexr-dev sdl-dev libraw-dev jasper2-dev lua-5.3-dev libwebp1-dev graphviz-dev vala-dev

cd gegl-0.3.34

sudo cp /tmp/tcloop/gcc_libs-dev/usr/local/lib/libgomp.spec /usr/lib

CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-introspection=yes --without-libavformat

find . -name Makefile -type f -exec sed -i 's/-g -O3//g' {} \;

make [2m 33.10s]
sudo make install

Building GEGL with prefix=/usr/local

Optional features:
  GEGL docs:       yes
  Build workshop:  no
  Build website:   no  (asciidoc not found)
  SIMD:            sse:yes mmx:yes
  Vala support:    yes

Optional dependencies:
  asciidoc:        no  (asciidoc not found)
  enscript:        no  (enscript not found)
  mrg:             no  (mrg not found)
  Ruby:            no
  Lua:             yes
  Cairo:           yes
  Pango:           yes
  pangocairo:      yes
  GDKPixbuf:       yes
  JPEG:            yes
  PNG:             yes
  OpenEXR:         yes
  rsvg:            yes
  SDL:             yes
  libraw:          yes
  Jasper:          yes
  graphviz:        yes
  avformat:        no  (disabled)
  V4L:             yes
  V4L2:            yes
  spiro:           no  (usable SPIRO library not found)
  EXIV:            yes
  gexiv2:          yes
  umfpack:         no  (usable umfpack library not found)
  TIFF             yes
  webp:            yes
  poly2tri-c:      yes (internal)