tce-load -i cd jpeg-6b 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" ./configure --prefix=/usr/local --enable-shared --enable-static CFLAGS="-march=i486 -mtune=i686 -Os -pipe" CXXFLAGS=" -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --enable-shared --enable-static no difference in size remove "-O2" from Makefile make sudo make install