tce-load -i compiletc libpng-dev harfbuzz-dev cd freetype-2.9.0 sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg sed -r "s:.*(#.*SUBPIXEL_(RENDERING|HINTING 2)) .*:\1:g" -i include/freetype/config/ftoption.h 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 --localstatedir=/var --disable-static [--with-bzip2=no] find . -name unix-cc.mk -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 17.68s] sudo make install Library configuration: external zlib: yes (pkg-config) bzip2: yes (autoconf test) libpng: yes (pkg-config) harfbuzz: yes (pkg-config)