tce-load -i compiletc libxcb-dev perl5 xtrans wget https://www.x.org/archive/individual/lib/libX11-1.8.12.tar.xz cd libX11-1.8.12 CC="gcc -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -flto -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --sysconfdir=/etc find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [1m 38.60s] make install libX11 1.8.12 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