tce-load -i compiletc yasm cd xvidcore (1.3.5) 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 [0m 13.02s] sed -i '/libdir.*STATIC_LIB/ s/^/#/' Makefile sudo make install sudo chmod 755 /usr/local/lib/libxvidcore.so.4.3