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