diff options
-rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs-78_78.15.0.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs-78_78.15.0.bb b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs-78_78.15.0.bb index 090c2fe058..61c5861153 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs-78_78.15.0.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs-78_78.15.0.bb | |||
@@ -91,6 +91,9 @@ export HOST_CXXFLAGS = "${BUILD_CXXFLAGS}" | |||
91 | # otherwise we are asked for yasm... | 91 | # otherwise we are asked for yasm... |
92 | export AS = "${CC}" | 92 | export AS = "${CC}" |
93 | 93 | ||
94 | CPPFLAGS:append:mips:toolchain-clang = " -fpie" | ||
95 | CPPFLAGS:append:mipsel:toolchain-clang = " -fpie" | ||
96 | |||
94 | do_configure() { | 97 | do_configure() { |
95 | prepare_python_and_rust | 98 | prepare_python_and_rust |
96 | 99 | ||
@@ -102,7 +105,7 @@ do_configure() { | |||
102 | # * with mozjs-78 we get without: | 105 | # * with mozjs-78 we get without: |
103 | # | Path specified in LOCAL_INCLUDES (..) resolves to the topsrcdir or topobjdir (<tmpdir>/oe-core-glibc/work/cortexa72-mortsgna-linux/mozjs-78/78.15.0-r0/firefox-78.15.0/js/src), which is not allowed | 106 | # | Path specified in LOCAL_INCLUDES (..) resolves to the topsrcdir or topobjdir (<tmpdir>/oe-core-glibc/work/cortexa72-mortsgna-linux/mozjs-78/78.15.0-r0/firefox-78.15.0/js/src), which is not allowed |
104 | mkdir -p "${B}/lcl_tmp" | 107 | mkdir -p "${B}/lcl_tmp" |
105 | TMPDIR="${B}/lcl_tmp" ${S}/js/src/configure ${EXTRA_OECONF} | 108 | TMPDIR="${B}/lcl_tmp" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" ${S}/js/src/configure ${EXTRA_OECONF} |
106 | 109 | ||
107 | # inspired by what fedora [1] does: for big endian rebuild icu dat | 110 | # inspired by what fedora [1] does: for big endian rebuild icu dat |
108 | # this avoids gjs qemu crash on mips at gir creation | 111 | # this avoids gjs qemu crash on mips at gir creation |