tce-load -wil compiletc python3.9 libnftnl-dev gmp-dev readline-dev jansson-dev python3.9-pip https://www.netfilter.org/projects/nftables/files/nftables-1.1.1.tar.xz cd nftables-1.1.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 --localstatedir=/var --disable-static --disable-man-doc --with-json --with-cli=readline find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make mkdir /tmp/dest make DESTDIR=/tmp/dest install mkdir -p /tmp/dest/usr/local/lib/python3.9/site-packages python3 -m pip install --target /tmp/dest/usr/local/lib/python3.9/site-packages py/ nft configuration: cli support: readline enable debugging symbols: yes use mini-gmp: no enable man page: no libxtables support: no json output support: yes