tce-load -i compiletc wget https://downloads.sourceforge.net/libpng/libpng-1.6.37.tar.xz wget https://downloads.sourceforge.net/sourceforge/libpng-apng/libpng-1.6.37-apng.patch.gz cd libpng-1.6.37 gzip -cd ../libpng-1.6.37-apng.patch.gz | patch -p1 CC="gcc -flto -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 13.66s] sudo make install