tce-load -i compiletc yasm perl5 coreutils

wget https://github.com/webmproject/libvpx/archive/v1.14.1/libvpx-1.14.1.tar.gz

cd libvpx-1.14.1

sed -i 's/cp -p/cp/' build/make/Makefile

mkdir build-libvpx
cd build-libvpx

CC="gcc -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ../configure --prefix=/usr/local --enable-shared --disable-static

[-lto fails]

find . -name libs-x86-linux-gcc.mk -type f -exec sed -i 's/-O3//g' {} \;
find . -name tools-x86-linux-gcc.mk -type f -exec sed -i 's/-O3//g' {} \;
find . -name examples-x86-linux-gcc.mk -type f -exec sed -i 's/-O3//g' {} \;

make [4m 16.11s]
sudo make install