tce-load -i bash gettext cd net-tools-CVS_20101030 patch -Np1 -i ../net-tools-CVS_20101030-remove_dups-1.patch yes "" | make config find . -name Makefile -type f -exec sed -i 's/-O2 -g//g' {} \; Edit Makefile BASEDIR = /usr/local # BASEDIR ?= $(DESTDIR) make CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" sudo make install