tce-load -i compiletc cd uuid-1.6.2 patch -Np1 -i ../uuid-1.6.2-change-library-name.patch patch -Np1 -i ../uuid-1.6.2-uuid-preserve-m-option-status-in-v-option-handling.patch CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --with-cxx find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name Makefile -type f -exec sed -i 's/-O2 -pipe//g' {} \; make sudo make install