* Mozjs17 has problems with 64k page sizes (powerpc64, aarch64 and probably others) and lacks support for aarch64. Patches were lifted from the fedora src rpm and rediffed.
* Regenerate configure with autoconf-2.13 to make the fixes mentioned above take effect.
* Provide proper config.guess and config.sub files
* Explicitly disable static builds and regroup configure options.
* Also clean out the patches/ dir present in the tarball to avoid conflicts with the OE patcher.
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
To fix the bug as following
error: cannot convert '__va_list_tag**' to '__va_list_tag (*)[1]' for
argument '5' to 'JSBool TryArgumentFormatter(JSContext*, const char**,
JSBool, jsval**, __va_list_tag (*)[1])'
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Fixed SRC_URI:
* ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV}
* ${P} -> ${BP}
Otherwise we would meet do_fetch errors when we do the multilib, native
or nativesdk build.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
We do not take care of default libdir which accidently
works out to be ok for non-multilib case since its /usr/lib
Fixes error like
ERROR: QA Issue: mozjs: Files/directories were installed but not shipped
/usr/lib
/usr/lib/libmozjs-17.0.a
/usr/lib/libmozjs-17.0.so
/usr/lib/pkgconfig
/usr/lib/.debug
/usr/lib/pkgconfig/mozjs-17.0.pc
/usr/lib/.debug/libmozjs-17.0.so
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>