tce-load -i compiletc Xorg-7.7-3d-dev wayland-protocols wget https://www.x.org/archive//individual/xserver/xorg-server-1.20.11.tar.bz2 cd xorg-server-1.20.11 patch -Np1 -i ../xorg-server-1.19.3-add_prime_support-1.patch patch -Np1 -i ../xorg-server-1.20.3_sysmacros.patch CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local -disable-static --localstatedir=/var --sysconfdir=/etc --libexecdir=/usr/local/lib/xorg --enable-glamor --enable-install-setuid --enable-suid-wrapper --disable-systemd-logind --with-xkb-output=/var/lib/xkb --with-fontrootdir=/usr/local/lib/X11/fonts --with-sha1=libcrypto [flto fails] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name Makefile -type f -exec sed -i 's/-Werror=array-bounds//g' {} \; make [2m 57.69s] sudo make install mkdir -pv /etc/X11/xorg.conf.d && cat >> /etc/sysconfig/createfiles << "EOF" /tmp/.ICE-unix dir 1777 root root /tmp/.X11-unix dir 1777 root root EOF