tce-load -i libjpeg-turbo-dev cd jasper-1.900.1 patch -Np1 -i ../jasper-1.900.1-security_fixes-2.patch 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 --disable-static --localstatedir=/var --enable-shared find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make sudo make install