tce-load -i xorg-proto Xorg-7.7-libs-dev udev-dev automake libtool-dev cd libdrm-2.4.70 sed -e "/pthread-stubs/d" -i configure.ac autoreconf -fi 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 --enable-udev find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make make install libdrm 2.4.70 will be compiled with: libkms yes Intel API yes vmwgfx API yes Radeon API yes AMDGPU API yes Nouveau API yes OMAP API no EXYNOS API no Freedreno API no (kgsl: no) Tegra API no VC4 API no