tce-load -i compiletc python3.6

wget https://www.freedesktop.org/software/libevdev/libevdev-1.12.0.tar.xz

cd libevdev-1.12.0

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

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

make [0m 2.18s]
sudo make install

               Prefix                           /usr/local
               Libdir                           ${exec_prefix}/lib

               Build documentation              no
               Enable unit-tests                no
               Enable profiling                 no
               Enable coverity support          no
               Static library symbol check      no - static build disabled
