void-packages/srcpkgs/xulrunner/patches/enable-x86_64-tracemonkey.patch
Juan RP 9d6316da7e xulrunner: update to 1.9.2.3.
Add some patches from Archlinux to fix yelp build, enabling jit on
x86_64, etc.

--HG--
extra : convert_revision : ba44c08730192d6dca4cf9c6443e4172d6f3d544
2010-04-13 15:02:40 +02:00

25 lines
501 B
Diff

--- js/src/configure.in.old 2009-11-08 19:50:54.299642792 -0500
+++ 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)
;;