tce-load -i compiletc wget https://archive.mozilla.org/pub/nspr/releases/v4.38.2/src/nspr-4.38.2.tar.gz cd nspr-4.38.2 cd nspr sed -ri '/^RELEASE/s/^/#/' pr/src/misc/Makefile.in sed -i 's|$(LIBRARY) ||' config/rules.mk CC="gcc -flto -mtune=generic -Os -pipe" CXX="g++ -flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --with-mozilla --with-pthreads --enable-64bit find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name autoconf.mk -type f -exec sed -i 's/-g -fno-inline/-fno-inline/g' {} \; make [0m 11.57s] sudo make install