tce-load -i pcre-dev bash cd qpdf-5.0.1 find . -name configure -type f -exec sed -i 's/-O2/ /g' {} \; find . -name configure.lineno -type f -exec sed -i 's/-O2/ /g' {} \; 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 find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; find . -name msvc.mk -type f -exec sed -i 's/-O2/ /g' {} \; make sudo make install