tce-load -i compiletc sqlite3-dev glib2-dev gdbm-dev Xorg-7.7-dev tk8.6-dev

wget https://www.python.org/ftp/python/3.14.1/Python-3.14.1.tar.xz

cd Python-3.14.1

CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --enable-shared --with-system-expat --with-lto --without-static-libpython

find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \;
find . -name Makefile -type f -exec sed -i 's/-g  -O3//g' {} \;
find . -name Makefile -type f -exec sed -i 's/-g -O3//g' {} \;
find . -name Makefile -type f -exec sed -i 's/flto-partition=none -g/flto-partition=none/g' {} \;
find . -name Makefile -type f -exec sed -i 's/-ffat-lto-objects -g/-ffat-lto-objects/g' {} \;

make [7m 52.67s]
sudo make install

