tce-load -i compiletc xorg-server-dev libinput-dev wget https://www.x.org/pub/individual/driver/xf86-input-libinput-1.2.1.tar.xz cd xf86-input-libinput-1.2.1 CC="gcc -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe" CXX="g++ -march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --sysconfdir=/etc [-flto fails] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 7.54s] sudo make install