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