tce-load -i automake libtool-dev cd faad2-2.7 patch -Np1 -i ../faad2-2.7-mp4ff-1.patch sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.in autoreconf -fi CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" ./configure --prefix=/usr/local --disable-static find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make sudo make install