iOS - set HAVE_POSIX_MEMALIGN and -marm
This commit is contained in:
parent
7e7383531b
commit
acac41a910
2
Makefile
2
Makefile
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue