tce-load -i compiletc mesa-dev libEGL-dev libGLES-dev wayland-dev wayland-protocols openssl-dev pixman-dev libepoxy-dev libXxf86vm-dev xkbcomp libxkbfile-dev libXfont2-dev libdmx-dev https://www.x.org/pub/individual/xserver/xorg-server-1.20.6.tar.bz2 cd xorg-server-1.20.6 patch -Np1 -i ../xorg-server-1.20.5_sysmacros.patch CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -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 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 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