tce-load -i libevdev-dev mtdev-dev libwacom-dev

cd libinput-1.3.1

CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local -disable-static --localstatedir=/var --sysconfdir=/etc --with-udev-dir=/etc/udev

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

make
sudo make install

        Prefix                  /usr/local
        udev base dir           /etc/udev

        Build documentation     no
        Build tests             no
        Tests use valgrind      
        Tests use libunwind     no
        Build GUI event tool    no
