tce-load -i compiletc libva22-dev

wget https://github.com/intel/libva-utils/releases/download/2.22.0/libva-utils-2.22.0.tar.bz2

cd libva-utils-2.22.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 27.47s]
sudo make install

libva-utils - 2.22.0

Libva VA-API version ............. : 1.22.0
Installation prefix .............. : /usr/local
Extra window systems ............. : drm x11 wayland
Enable Unit-tests .................... : no
