tce-load -i git curl automake libtool-dev intltool gettext-dev util-macros xorg-proto libXext-dev libXfixes-dev cd libXi ./autogen.sh CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --sysconfdir=/etc --localstatedir=/var find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make make install