tce-load -i compiletc openssl-dev gettext cd RHash-1.3.5 find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ADDCFLAGS="-DUSE_GETTEXT -DOPENSSL_RUNTIME -rdynamic" ADDLDFLAGS="-ldl" lib-shared sudo make CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ADDCFLAGS="-DUSE_GETTEXT -DOPENSSL_RUNTIME -rdynamic" ADDLDFLAGS="-ldl" install sudo make CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ADDCFLAGS="-DUSE_GETTEXT -DOPENSSL_RUNTIME -rdynamic" ADDLDFLAGS="-ldl" install-lib-shared sudo cp librhash/rhash.h /usr/local/include cd /usr/local/lib sudo ln -s librhash.so.0 librhash.so