tce-load -i compiletc xcb-proto libXau-dev libXdmcp-dev python3.6 wget https://xorg.freedesktop.org/archive/individual/lib/libxcb-1.14.tar.xz cd libxcb-1.14 sed -i "s/pthread-stubs//" configure PYTHON=python3 CC="gcc -flto -mtune=generic -Os -pipe -Wno-error=format-extra-args" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --sysconfdir=/etc --without-doxygen find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 22.18s] make install Package: libxcb 1.14 Configuration XDM support.........: yes sendmsg fd passing..: yes Build unit tests....: no with html results.: no XCB buffer size.....: 16384 X11 extensions Composite...........: yes Damage..............: yes Dpms................: yes Dri2................: yes Dri3................: yes GenericEvent........: no Glx.................: yes Randr...............: yes Record..............: yes Render..............: yes Resource............: yes Screensaver.........: yes selinux.............: no Shape...............: yes Shm.................: yes Sync................: yes Xevie...............: no Xfixes..............: yes Xfree86-dri.........: yes xinerama............: yes xinput..............: yes xkb.................: yes xprint..............: no xtest...............: yes xv..................: yes xvmc................: yes Used CFLAGS: CPPFLAGS............: CFLAGS..............: -g -O2 Installation: Prefix..............: /usr/local