tce-load -i compiletc fontconfig-dev libxcb-dev perl5

cd xtrans-1.4.0
cd ../libX11-1.6.9
cd ../libXext-1.3.4
cd ../libFS-1.0.8
cd ../libICE-1.0.10
cd ../libSM-1.2.3
cd ../libXt-1.2.0
cd ../libXmu-1.1.3
cd ../libXcomposite-0.4.5 [libXfixes-dev]
cd ../libXcursor-1.2.0 [libXrender-dev]
cd ../libXdamage-1.1.5
cd ../libfontenc-1.1.4
cd ../libXft-2.3.3 [libXfont2-dev]
cd ../libXi-1.7.10
cd ../libXinerama-1.1.4
cd ../libXrandr-1.5.2
cd ../libXvMC-1.0.12 [libXv-dev]
cd ../libXxf86dga-1.1.5
cd ../libdmx-1.1.4
cd ../libpciaccess-0.16
cd ../libxkbfile-1.1.0

CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --sysconfdir=/etc [libICE LIBS="-pthread"] [libXt --with-appdefaultdir=/etc/X11/app-defaults]

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;

make [1m 19.55s]
make install

X11 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
 Threads stubs in libX11:                 no
 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
