[Darwin, configure] Allow configure to work for <arch>-*-darwin.
authorIain Sandoe <iain@codesourcery.com>
Thu, 26 May 2016 07:55:04 +0000 (08:55 +0100)
committerIain Sandoe <iain@codesourcery.com>
Thu, 26 May 2016 07:55:04 +0000 (08:55 +0100)
The exec configury is appropriate for all current targets (including using older tools on them).

configure.ac

index 9483b28..e49a788 100644 (file)
@@ -197,7 +197,7 @@ case "$target" in
                  [Cannot use PROT_EXEC on this target, so, we revert to
                    alternative means])
      ;;
-     *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
+     *-apple-darwin* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
        AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1,
                  [Cannot use malloc on this target, so, we revert to
                    alternative means])