tce-load -i compiletc meson nasm

wget https://github.com/cisco/openh264/archive/refs/tags/2.5.1.tar.gz

cd openh264-2.5.1

mkdir build-openh264
cd build-openh264

CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" meson setup --prefix=/usr/local --localstatedir=/var --buildtype=plain -Dtests=disabled

ninja [0m 39.28s]
sudo ninja install

openh264 2.5.1

  User defined options
    buildtype    : plain
    localstatedir: /var
    prefix       : /usr/local
    tests        : disabled
