tce-load -i compiletc vala-dev gtk3-dev itstool intltool appstream-glib-dev cd simple-scan-3.22.0.1 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 --localstatedir=/var --disable-packagekit find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make sudo make install Simple Scan 3.22.0.1 ==================== prefix: /usr/local PackageKit support: no Color management: yes