tce-load -i compiletc libevent-dev ncursesw-dev

https://github.com/tmux/tmux/releases/download/3.0a/tmux-3.0a.tar.gz

cd tmux-3.0a

CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" LIBNCURSES_CFLAGS="-I/usr/local/include/ncursesw" LIBNCURSES_LIB="-L/usr/local/lib/lncursesw" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --sysconfdir=/usr/local/etc

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

make [0m 20.63s]
make install
