mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-17 07:45:47 +01:00
mozjs-91: Add option to use system ICU
ARM needs to use system icu, otherwise build fails with gcc-12 firefox-91.8.0/intl/icu/source/common/stringtriebuilder.cpp:388: more undefined references to `std::type_info::operator==(std::type_info const&) const' follow | collect2: error: ld returned 1 exit status Keep using vendored ICU on mips since this breaks build for gjs introspection code which is run under qemu-user Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
cc8efa1fe9
commit
a4e7ad4568
|
|
@ -22,7 +22,8 @@ S = "${WORKDIR}/firefox-${@d.getVar("PV").replace("esr", "")}"
|
||||||
|
|
||||||
inherit pkgconfig perlnative python3native rust
|
inherit pkgconfig perlnative python3native rust
|
||||||
|
|
||||||
DEPENDS += "zlib cargo-native python3"
|
DEPENDS += "zlib cargo-native python3 icu"
|
||||||
|
DEPENDS:remove:mipsarch = "icu"
|
||||||
|
|
||||||
B = "${WORKDIR}/build"
|
B = "${WORKDIR}/build"
|
||||||
|
|
||||||
|
|
@ -39,8 +40,9 @@ export AS = "${CC}"
|
||||||
export RUSTFLAGS
|
export RUSTFLAGS
|
||||||
|
|
||||||
JIT ?= ""
|
JIT ?= ""
|
||||||
|
|
||||||
JIT:mipsarch = "--disable-jit"
|
JIT:mipsarch = "--disable-jit"
|
||||||
|
ICU ?= "--with-system-icu"
|
||||||
|
ICU:mipsarch = ""
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
cd ${B}
|
cd ${B}
|
||||||
|
|
@ -52,8 +54,8 @@ do_configure() {
|
||||||
--libdir=${libdir} \
|
--libdir=${libdir} \
|
||||||
--disable-jemalloc \
|
--disable-jemalloc \
|
||||||
--disable-strip \
|
--disable-strip \
|
||||||
${JIT}
|
${JIT} \
|
||||||
|
${ICU}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user