tce-load -i compiletc Xorg-7.7-dev tiff-dev jasper-dev svn checkout http://svn.code.sf.net/p/netpbm/code/stable netpbm cd netpbm 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 edit config.mk CFLAGS = -ffast-math -pedantic -fno-common -Wall -Wno-uninitialized -Wmissing-declarations -Wimplicit -Wwrite-strings -Wmissing-prototypes -Wundef TIFFLIB = /usr/local/lib/libtiff.so TIFFHDR_DIR = /usr/local/include JPEGLIB = /usr/local/lib/libjpeg.so JPEGHDR_DIR = /usr/local/include ZLIB = /usr/lib/libz.so ZHDR_DIR = /usr/include JASPERLIB = /usr/local/lib/libjasper.so JASPERHDR_DIR = /usr/local/include/jasper X11LIB = /usr/local/lib/libX11.so X11HDR_DIR = /usr/local/include/X11 make CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" [1m 21.69s] sudo make package pkgdir=/tmp/pkg