tce-load -i compiletc libpng-dev tiff-dev giflib7-dev freeglut-dev glu-dev http://downloads.webmproject.org/releases/webp/libwebp-1.1.0.tar.gz cd libwebp-1.1.0 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 --enable-libwebpmux --enable-libwebpdemux --enable-libwebpdecoder --enable-libwebpextras --enable-swap-16bit-csp find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 30.38s] sudo make install WebP Configuration Summary -------------------------- Shared libraries: yes Static libraries: no Threading support: yes libwebp: yes libwebpdecoder: yes libwebpdemux: yes libwebpmux: yes libwebpextras: yes Tools: cwebp : yes Input format support ==================== JPEG : yes PNG : yes TIFF : yes WIC : no dwebp : yes Output format support ===================== PNG : yes WIC : no GIF support : yes anim_diff : yes gif2webp : yes img2webp : yes webpmux : yes vwebp : yes webpinfo : yes SDL support : no vwebp_sdl : no