iOS - set HAVE_POSIX_MEMALIGN and -marm

This commit is contained in:
twinaphex 2014-12-10 18:30:17 +01:00
parent 7e7383531b
commit acac41a910
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ else ifeq ($(platform), ios)
endif
CC = clang -arch armv7 -isysroot $(IOSSDK)
CFLAGS += -DIOS -DHAVE_MMAP
CFLAGS += -DIOS -DHAVE_MMAP -DHAVE_POSIX_MEMALIGN -marm
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
ifeq ($(OSX_LT_MAVERICKS),"YES")