http://download.savannah.gnu.org/releases/leafpad/leafpad-0.8.18.1.tar.gz tce-load -ic compiletc.tcz gtk2-dev.tcz intltool.tcz LDFLAGS="-Wl,-O1" 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 --enable-chooser find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make find . | xargs file | grep "executable" | grep ELF | grep "not stripped" | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || find . | xargs file | grep "shared object" | grep ELF | grep "not stripped" | cut -f 1 -d : | xargs strip -g 2> /dev/null sudo chmod 775 install-sh sudo make install