tce-load -i compiletc libva2-dev

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

cd libva-utils-2.5.0

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

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

make [0m 26.26s]
sudo make install

libva-utils - 2.5.0

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