tce-load -wil compiletc python3.9 libnftnl-dev gmp-dev readline-dev jansson-dev 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-python-bin=/usr/local/bin/python3 --with-json --with-cli=readline find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 28.27s] mkdir /tmp/dest make DESTDIR=/tmp/dest install nft configuration: cli support: readline enable debugging symbols: yes use mini-gmp: no enable man page: no libxtables support: no json output support: yes