]> git.pld-linux.org Git - packages/mozjs17.git/blobdiff - Disable-js-JIT-on-x32.patch
- fix building on x32
[packages/mozjs17.git] / Disable-js-JIT-on-x32.patch
diff --git a/Disable-js-JIT-on-x32.patch b/Disable-js-JIT-on-x32.patch
new file mode 100644 (file)
index 0000000..d5a603d
--- /dev/null
@@ -0,0 +1,26 @@
+Description: Disable the js JIT on x32.
+Author: Adam Borowski <kilobyte@angband.pl>
+Index: mozjs24-24.2.0/js/src/configure.in
+===================================================================
+--- mozjs24-24.2.0.orig/js/src/configure.in
++++ mozjs24-24.2.0/js/src/configure.in
+@@ -2072,6 +2072,8 @@ fi
+ dnl Configure JIT support
+ case "$target" in
++x86_64*-gnux32)
++    ;;
+ i?86-*)
+     ENABLE_METHODJIT=1
+     ENABLE_ION=1
+--- mozjs-24.2.0/js/src/configure~     2013-12-11 23:23:20.000000000 +0100
++++ mozjs-24.2.0/js/src/configure      2015-03-23 22:55:24.995319443 +0100
+@@ -8243,6 +8243,8 @@
+ case "$target" in
++x86_64*-gnux32)
++    ;;
+ i?86-*)
+     ENABLE_METHODJIT=1
+     ENABLE_ION=1
This page took 0.091657 seconds and 4 git commands to generate.