]> git.pld-linux.org Git - packages/mozjs78.git/blobdiff - mozjs78-x32-rust.patch
- enhanced x32 patch; need to disable JIT-specific assert with JS_CODEGEN_NONE
[packages/mozjs78.git] / mozjs78-x32-rust.patch
diff --git a/mozjs78-x32-rust.patch b/mozjs78-x32-rust.patch
new file mode 100644 (file)
index 0000000..b9747de
--- /dev/null
@@ -0,0 +1,19 @@
+--- firefox-78.2.0/build/moz.configure/rust.configure.orig     2020-08-17 20:33:34.000000000 +0200
++++ firefox-78.2.0/build/moz.configure/rust.configure  2020-10-07 18:29:15.458050574 +0200
+@@ -406,16 +406,6 @@
+ rust_host_triple = rust_triple_alias(host, host_c_compiler)
+-@depends(host, rust_host_triple, rustc_info.host)
+-def validate_rust_host_triple(host, rust_host, rustc_host):
+-    if rust_host != rustc_host:
+-        if host.alias == rust_host:
+-            configure_host = host.alias
+-        else:
+-            configure_host = '{}/{}'.format(host.alias, rust_host)
+-        die("The rust compiler host ({}) is not suitable for the configure host ({})."
+-            .format(rustc_host, configure_host))
+-
+ set_config('RUST_TARGET', rust_target_triple)
+ set_config('RUST_HOST_TARGET', rust_host_triple)
This page took 0.185154 seconds and 4 git commands to generate.