tce-load -wi compiletc https://git.zx2c4.com/wireguard-tools/snapshot/wireguard-tools-1.0.20210914.zip cd wireguard-tools-1.0.20210914/src Makefile edits: PREFIX ?= /usr/local WITH_WGQUICK ?= yes WITH_SYSTEMDUNITS ?= no CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" make sudo make install copy "stat" utility from GNU coreutils to extension's /usr/local/bin/