Support for iOS compilation

This commit is contained in:
Valerii Hiora 2014-05-16 16:28:20 +03:00 committed by Jason Evans
parent 8f50ec8eda
commit 5921ba7b0c
2 changed files with 3 additions and 1 deletions

2
config.sub vendored
View File

@ -1400,6 +1400,8 @@ case $os in
-mac*) -mac*)
os=`echo $os | sed -e 's|mac|macos|'` os=`echo $os | sed -e 's|mac|macos|'`
;; ;;
-ios*)
;;
-linux-dietlibc) -linux-dietlibc)
os=-linux-dietlibc os=-linux-dietlibc
;; ;;

View File

@ -264,7 +264,7 @@ dnl definitions need to be seen before any headers are included, which is a pain
dnl to make happen otherwise. dnl to make happen otherwise.
default_munmap="1" default_munmap="1"
case "${host}" in case "${host}" in
*-*-darwin*) *-*-darwin* | *-*-ios*)
CFLAGS="$CFLAGS" CFLAGS="$CFLAGS"
abi="macho" abi="macho"
AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ]) AC_DEFINE([JEMALLOC_PURGE_MADVISE_FREE], [ ])