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