tce-load -i compiletc perl5

https://github.com/webmproject/libvpx/archive/v1.8.2/libvpx-1.8.2.tar.gz

cd libvpx-1.8.2

mkdir libvpx-build
cd libvpx-build

CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ../configure --prefix=/usr/local --disable-static --enable-shared

[fails with neon errors]

../configure --prefix=/usr/local --disable-static --enable-shared

[uses -march=armv7-a -mfloat-abi=hard -mfpu=neon]

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


make [13m 55.09s]
sudo make install

