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 -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" PREFIX"=/usr/local" [0m 9.47s] sudo make CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" PREFIX"=/usr/local" install