tce-load -i automake libtool-dev cd libtirpc-0.2.3 patch -Np1 -i ../libtirpc-0.2.3-remove_nis-1.patch sed "s@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@g" -i configure.ac autoreconf -fi CFLAGS="-fPIC" 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" ./configure --prefix=/usr/local --disable-static --sysconfdir=/etc find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make sudo make install