tce-load -i git automake libtool-dev fltk-1.3-dev poppler-dev lzo-dev git clone https://github.com/clbr/flaxpdf.git cd flxpdf ./autogen.sh 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 find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make sudo make install