Skip to contentSkip to conversation

mozjs: Use RUST_HOST_SYS and RUST_TARGET_SYS

PATCH New Khem Raj 1 participant 1 message Jul 29, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 mozjs: Use RUST_HOST_SYS and RUST_TARGET_SYS

---
 .../meta-python/recipes-extended/mozjs/mozjs-78_78.15.0.bb      | 2 +-
 meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs-78_78.15.0.bb +1 -1
index c23950301e..7d4e4a81fb 100644
@@ -40,7 +40,7 @@ JIT ?= ""
 JIT:mipsarch = "--disable-jit"
 
 EXTRA_OECONF = " \
-    --target=${TARGET_SYS} \
+    --target=${RUST_TARGET_SYS} \
     --host=${BUILD_SYS} \
     --prefix=${prefix} \
     --libdir=${libdir} \
meta-oe/recipes-extended/mozjs/mozjs-91_91.8.0.bb +1 -1
index 9b990ecdf3..8ade3bb4be 100644
@@ -50,7 +50,7 @@ do_configure() {
     cd ${B}
     python3 ${S}/configure.py \
         --enable-project=js \
-        --target=${HOST_SYS} \
+        --target=${RUST_HOST_SYS} \
         --host=${BUILD_SYS} \
         --prefix=${prefix} \
         --libdir=${libdir} \
Signature · 1 line
2.37.1