mirror of
https://github.com/partic2/libffi
synced 2026-11-09 17:47:19 +00:00
Support -ios triple
Autoconf hasn’t had an update since 2014, and it doesn’t look like it will soon[1]
This updates config.{guess,sub}
It adds support for e.g. `-ios`, which allows to have targets like `aarch64-apple-ios`.
It basically does exactly what the config.guess script says:
> It is advised that you download the most up to date version of the config scripts from
The configure.ac script has been updated to relax `*-apple-darwin*` to `*-apple-*`.
Similarly the `.gitignore` and `autogen.sh` needed to be updated to respect the
newer `config.{sub,guess}`
—
[1]: http://lists.gnu.org/archive/html/autoconf/2016-07/msg00017.html
This commit is contained in:
@@ -8,7 +8,6 @@ Makefile
|
|||||||
Makefile.in
|
Makefile.in
|
||||||
aclocal.m4
|
aclocal.m4
|
||||||
compile
|
compile
|
||||||
config.*
|
|
||||||
configure
|
configure
|
||||||
depcomp
|
depcomp
|
||||||
doc/libffi.info
|
doc/libffi.info
|
||||||
|
|||||||
+1
-1
@@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
exec autoreconf -v -f -i
|
exec autoreconf -v -i
|
||||||
|
|||||||
Vendored
+1466
File diff suppressed because it is too large
Load Diff
Vendored
+1836
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -191,13 +191,13 @@ fi
|
|||||||
|
|
||||||
FFI_EXEC_TRAMPOLINE_TABLE=0
|
FFI_EXEC_TRAMPOLINE_TABLE=0
|
||||||
case "$target" in
|
case "$target" in
|
||||||
*arm*-apple-darwin* | aarch64-apple-darwin*)
|
*arm*-apple-* | aarch64-apple-*)
|
||||||
FFI_EXEC_TRAMPOLINE_TABLE=1
|
FFI_EXEC_TRAMPOLINE_TABLE=1
|
||||||
AC_DEFINE(FFI_EXEC_TRAMPOLINE_TABLE, 1,
|
AC_DEFINE(FFI_EXEC_TRAMPOLINE_TABLE, 1,
|
||||||
[Cannot use PROT_EXEC on this target, so, we revert to
|
[Cannot use PROT_EXEC on this target, so, we revert to
|
||||||
alternative means])
|
alternative means])
|
||||||
;;
|
;;
|
||||||
*-apple-darwin* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
|
*-apple-* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
|
||||||
AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1,
|
AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1,
|
||||||
[Cannot use malloc on this target, so, we revert to
|
[Cannot use malloc on this target, so, we revert to
|
||||||
alternative means])
|
alternative means])
|
||||||
|
|||||||
Reference in New Issue
Block a user