tce-load -i compiletc http://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz cd lzo-2.10 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 [0m 9.62s] sudo make install LZO configuration summary ------------------------- LZO version : 2.10 configured for host : x86_64-pc-linux-gnu source code location : . compiler : gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe preprocessor definitions : -DLZO_HAVE_CONFIG_H=1 preprocessor flags : compiler flags : -g -O2 build static library : no build shared library : yes enable i386 assembly code : no