tce-load -i compiletc fontconfig-dev libxcb-dev perl5 xtrans gettext https://www.x.org/pub/individual/lib/ cd libX11-1.8.6 cd ../libXext-1.3.5 cd ../libFS-1.0.9 cd ../libICE-1.1.1 cd ../libSM-1.2.4 cd ../libXScrnSaver-1.2.4 cd ../libXt-1.3.0 cd ../libXmu-1.1.4 cd ../libXpm-3.5.16 cd ../libXaw-1.0.15 cd ../libXfixes-6.0.1 cd ../libXcomposite-0.4.6 cd ../libXrender-0.9.11 cd ../libXcursor-1.2.1 cd ../libXdamage-1.1.6 cd ../libfontenc-1.1.7 cd ../libXfont2-2.0.6 cd ../libXft-2.3.8 cd ../libXi-1.8.1 cd ../libXinerama-1.1.5 cd ../libXrandr-1.5.3 cd ../libXres-1.2.2 cd ../libXtst-1.2.4 cd ../libXv-1.0.12 cd ../libXvMC-1.0.13 cd ../libXxf86dga-1.1.6 cd ../libXxf86vm-1.1.5 cd ../libpciaccess-0.17 cd ../libxkbfile-1.1.2 cd ../libxshmfence-1.3.2 [patch -Rp1 -i ../libXfont2-2.0.4.patch] 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 --disable-static --localstatedir=/var --sysconfdir=/etc [libXt --with-appdefaultdir=/etc/X11/app-defaults] [libXfont2 --disable-devel-docs] [libXpm --disable-open-zfile] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [4m 15.09s] sudo make install libX11 1.8.6 will be built with the following settings: Loadable i18n module support: no Loadable xcursor library support: yes Threading support: yes Use Threads safe API: yes Use thread safety constructor: yes XCMS: yes Internationalization support: yes XF86BigFont support: yes XKB support: yes XLOCALEDIR environment variable support: yes Compose table cache enabled: yes Functional specs building enabled: yes