Permalink
Browse files

fix libffi not allocating trampoline correctly on mountain lion

mountain lion is darwin 12, which the regex wasn't picking up correctly
See https://bugzilla.mozilla.org/show_bug.cgi?id=682180
  • Loading branch information...
1 parent 5d89b8a commit 492a32933bfddd95085099d9d13c76eb9c516f8c @fcheung fcheung committed Oct 29, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 vendor/libffi/configure
  2. +1 −1 vendor/libffi/configure.ac
View
@@ -14402,7 +14402,7 @@ case "$target" in
$as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
;;
- *-apple-darwin1[10]* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
+ *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
$as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h
@@ -351,7 +351,7 @@ case "$target" in
[Cannot use PROT_EXEC on this target, so, we revert to
alternative means])
;;
- *-apple-darwin1[[10]]* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
+ *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1,
[Cannot use malloc on this target, so, we revert to
alternative means])

0 comments on commit 492a329

Please sign in to comment.