tce-load -i yasm cd xvidcore cd build/generic sed -i 's/^LN_S=@LN_S@/& -f -v/' platform.inc.in CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var find . -name platform.inc -type f -exec sed -i 's/-O2//g' {} \; make sudo make install sudo chmod 755 /usr/local/lib/libxvidcore.so.4.3