tce-load -i compiletc https://archive.mozilla.org/pub/nspr/releases/v4.27/src/nspr-4.27.tar.gz cd nspr-4.27 cd nspr sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in sed -i 's#$(LIBRARY) ##' config/rules.mk CC="gcc -mtune=generic -Os -pipe" CXX="g++ -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 8.11s] make install