tce-load -i compiletc xorg-proto xtrans libxcb-dev wget https://www.x.org/archive//individual/lib/libX11-1.8.7.tar.xz cd libX11-1.8.7 CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -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 [0m 59.84s] make install libX11 1.8.7 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