tce-load -i compiletc python3.9-setuptools python3.9-six readline-dev rust icu74-dev perl5 wget https://archive.mozilla.org/pub/firefox/releases/115.7.0esr/source/firefox-115.7.0esr.source.tar.xz cd firefox-115.7.0 for i in $(find -name six.py); do ln -sfv /usr/local/lib/python3.9/site-packages/six.py $i; done mkdir obj cd obj CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ../js/src/configure --prefix=/usr/local --enable-readline --with-intl-api --with-system-zlib --with-system-icu --disable-jemalloc --disable-debug-symbols --enable-lto=full -enable-rust-simd [-flto fails] find . -name autoconf.mk -type f -exec sed -i 's/-O3//g' {} \; find . -name backend.mk -type f -exec sed -i 's/-O3//g' {} \; find . -name autoconf.mk -type f -exec sed -i 's/FLAGS = -g/FLAGS = /g' {} \; find . -name autoconf.mk -type f -exec sed -i 's/ -g//g' {} \; find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [26m 14.61s] sudo make install sudo rm -v /usr/local/lib/libjs_static.ajs sudo sed -i '/@NSPR_CFLAGS@/d' /usr/local/bin/js115-config