tce-load -i compiletc wget https://github.com/libffi/libffi/releases/download/v3.5.1/libffi-3.5.1.tar.gz cd libffi-3.5.1 CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var find ../ -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find ../ -name Makefile -type f -exec sed -i 's/-O3//g' {} \; find ../ -name Makefile -type f -exec sed -i 's/-ffast-math -march=haswell/-ffast-math/g' {} \; make [0m 2.06s] sudo make install