tce-load -i compiletc libpng-dev harfbuzz-dev bzip2-dev wget https://downloads.sourceforge.net/freetype/freetype-2.13.1.tar.xz cd freetype-2.13.1 sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg sed -r "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:" -i include/freetype/config/ftoption.h CC="gcc -flto -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -flto -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --enable-freetype-config [--with-harfbuzz=no pass1] [--with-bzip2=no] find . -name unix-cc.mk -type f -exec sed -i 's/-g -O2//g' {} \; make [1m 32.82s] sudo make install Library configuration: [pass 1] external zlib: yes (pkg-config) bzip2: yes (autoconf test) libpng: yes (pkg-config) harfbuzz: no brotli: no pthread: yes Library configuration: [pass 2] external zlib: yes (pkg-config) bzip2: yes (autoconf test) libpng: yes (pkg-config) harfbuzz: yes (pkg-config) brotli: no pthread: yes