However, If compiled with makeflags -j2 or more, the build of libjs fails .
Her's the relevant part of the build script with a workaround for compiling it with -j2 (or higher) :
Code: Select all
cd ${srcdir}/${pkgname}-build/deps/Cocoa-deps/scripts
./update-mozilla.sh
mkdir -p ${srcdir}/${pkgname}-build/deps/Cross-platform-deps/mozilla/js/src/build-release
cd ${srcdir}/${pkgname}-build/deps/Cross-platform-deps/mozilla/js/src/build-release
../configure --disable-shared-js --enable-threadsafe --with-system-nspr --disable-tests --enable-trace-jscalls
cd ${srcdir}/${pkgname}-build
make -f libjs.make debug=no
make -f Makefile release