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 -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ../configure --prefix=/usr/local --enable-shared --disable-static [-lto fails] find . -name libs-x86_64-linux-gcc.mk -type f -exec sed -i 's/-O3//g' {} \; find . -name tools-x86_64-linux-gcc.mk -type f -exec sed -i 's/-O3//g' {} \; find . -name examples-x86_64-linux-gcc.mk -type f -exec sed -i 's/-O3//g' {} \; make [2m 14.66s] sudo make install