tce-load -i cd nspr-4.10.2 cd nspr sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in sed -i 's#$(LIBRARY) ##' config/rules.mk CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --with-mozilla --with-pthreads --enable-64bit find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make sudo make install