tce-load -i compiletc gdk-pixbuf2-dev x265-dev https://github.com/strukturag/libheif/releases/download/v1.6.2/libheif-1.6.2.tar.gz cd libheif-1.6.2 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 [-fno-exceptions -fno-rtti fails] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 26.56s] sudo make install configure: Multithreading: yes configure: Symbol visibility: yes configure: libde265 decoder: no configure: libx265 encoder: yes configure: JPEG output: yes configure: PNG output: yes configure: GdkPixbuf2 loader: yes configure: Examples: yes configure: Tests: (tests will cause 'visibility' to be turned off)