ARM: Fix ABI and build issues for iOS. Now works on iOS 3.0+.

This commit is contained in:
Mike Pall
2011-04-28 19:41:34 +02:00
parent 7ff8409797
commit 0ba34ffe50
6 changed files with 1598 additions and 1041 deletions

View File

@@ -194,8 +194,8 @@
#if defined(__ARMEB__)
#error "No support for big-endian ARM"
#endif
#if !__ARM_EABI__
#error "Only ARM EABI is supported"
#if !(__ARM_EABI__ || LJ_TARGET_OSX)
#error "Only ARM EABI or iOS 3.0+ ABI is supported"
#endif
#elif LJ_TARGET_PPC
#if defined(_SOFT_FLOAT) || defined(_SOFT_DOUBLE)