tce-load -i compiletc https://github.com/libexif/libexif/releases/download/libexif-0_6_22-release/libexif-0.6.22.tar.xz cd libexif-0.6.22 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 --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 5.17s] sudo make install Configuration (libexif 0.6.22): Build Source code location: . Compiler: gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe Ship binaries in tarball: false Use translations: yes