tce-load -i compiletc yasm perl5 coreutils https://github.com/webmproject/libvpx/archive/v1.8.2/libvpx-1.8.2.tar.gz cd libvpx-1.8.2 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 [2m 34.34s] sudo make install