tce-load -i compiletc nasm cd libjpeg-turbo-1.5.3 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static [--with-jpeg8] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name Makefile -type f -exec sed -i 's/-O3//g' {} \; make sudo rm -f /usr/local/lib/libjpeg.so* sudo make install