tce-load -i libffi-dev nspr-dev python-dev readline-dev cd mozjs-24.2.0 cd js/src CFLAGS="-mtune=generic -Os -pipe" CXXFLAGS="-mtune=generic -Os -pipe" ./configure --prefix=/usr/local --enable-threadsafe --with-system-ffi --with-system-nspr --enable-readline find . -name Makefile -type f -exec sed -i 's/-O3//g' {} \; make sudo make install # find /usr/local/include/mozjs-24/ /usr/local/lib/libmozjs-24.a /usr/local/lib/pkgconfig/mozjs-24.pc -type f -exec chmod 644 {} \;