tce-load -i compiletc cmake git perl5 yasm https://aomedia.googlesource.com/aom/#building-the-library-and-applications git clone https://aomedia.googlesource.com/aom cd aom mkdir build_aom cd build_aom cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti -D_GLIBCXX_USE_C99_MATH -std=c++11" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -Wno-dev -DBUILD_SHARED_LIBS=1 ../ make sudo make install