tce-load -i curl-dev expat2-dev python-dev perl5 gettext cd git-1.8.5.1 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 --libexecdir=/usr/local/lib --with-gitconfig=/usr/local/etc/gitconfig find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make sudo make install