summaryrefslogtreecommitdiffstats
path: root/main/xulrunner/enable-x86_64-tracemonkey.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-25 21:00:27 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-25 21:00:27 -0600
commitdcc39ed47e2a83ae916eaa5f9c374c99a11b5d2a (patch)
treeb0c150edc7f7d98a668ef41794e80cef4f941113 /main/xulrunner/enable-x86_64-tracemonkey.patch
parentdaf268baf10f53258168866f3d169dadf7e3740d (diff)
downloadaports-dcc39ed47e2a83ae916eaa5f9c374c99a11b5d2a.tar.bz2
aports-dcc39ed47e2a83ae916eaa5f9c374c99a11b5d2a.tar.xz
testing/xulrunner: promote to main
Diffstat (limited to 'main/xulrunner/enable-x86_64-tracemonkey.patch')
-rw-r--r--main/xulrunner/enable-x86_64-tracemonkey.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/xulrunner/enable-x86_64-tracemonkey.patch b/main/xulrunner/enable-x86_64-tracemonkey.patch
new file mode 100644
index 000000000..f4e1da036
--- /dev/null
+++ b/main/xulrunner/enable-x86_64-tracemonkey.patch
@@ -0,0 +1,25 @@
+--- a/js/src/configure.in.old 2009-11-08 19:50:54.299642792 -0500
++++ b/js/src/configure.in 2009-11-08 19:57:49.235621814 -0500
+@@ -2465,6 +2465,10 @@
+ ENABLE_JIT=1
+ NANOJIT_ARCH=i386
+ ;;
++x86_64*-*)
++ ENABLE_JIT=1
++ NANOJIT_ARCH=X64
++ ;;
+ arm*-*)
+ ENABLE_JIT=1
+ NANOJIT_ARCH=ARM
+@@ -2488,7 +2492,10 @@
+ i?86-*)
+ AC_DEFINE(AVMPLUS_IA32)
+ ;;
+-
++x86_64*-*)
++ AC_DEFINE(AVMPLUS_AMD64)
++ AC_DEFINE(AVMPLUS_64BIT)
++ ;;
+ arm*-*)
+ AC_DEFINE(AVMPLUS_ARM)
+ ;;