tce-load -i compiletc curl-dev expat2-dev python3.9 perl5

wget https://www.kernel.org/pub/software/scm/git/git-2.50.1.tar.xz

cd git-2.50.1

CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --libexecdir=/usr/local/lib --with-gitconfig=/usr/local/etc/gitconfig --without-tcltk --with-python=python3 [--with-libpcre2]

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

make [11m 45.61s]

sudo make perllibdir=/usr/local/lib/perl5/5.36/site_perl install

sudo make install

edit may shebangs #!/usr/bin/env perl
