tce-load -i compiletc https://sourceforge.net/projects/giflib/files/giflib-5.1.9.tar.gz cd giflib-5.1.9 find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" PREFIX"=/usr/local" [0m 7.49s] sudo make CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" PREFIX"=/usr/local" install