tce-load -i compiletc libpng-dev tiff-dev giflib7-dev freeglut-dev glu-dev wget https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.3.2.tar.gz cd libwebp-1.3.2 CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -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 38.18s] 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