configure: Also consider __ARM_ARCH_7S__ when checking for ARM v7.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Fri, 12 Jul 2013 18:39:02 +0000 (20:39 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Fri, 12 Jul 2013 18:39:02 +0000 (20:39 +0200)
This is defined by Apple's iOS gcc with -arch armv7s.

configure.in

index 15d3387657dbf394d1569241f41c7543704f5102..7fd9a87a3151a7e90336bb3791067b718cb8ef4f 100644 (file)
@@ -3069,7 +3069,7 @@ if test ${TARGET} = ARM; then
        ], [])
 
        AC_TRY_COMPILE([], [
-               #if !defined(__ARM_ARCH_7A__) && !defined(__ARM_ARCH_7R__) && !defined(__ARM_ARCH_7EM__) && !defined(__ARM_ARCH_7M__)
+               #if !defined(__ARM_ARCH_7A__) && !defined(__ARM_ARCH_7R__) && !defined(__ARM_ARCH_7EM__) && !defined(__ARM_ARCH_7M__) && !defined(__ARM_ARCH_7S__)
                #error Not on ARM v7.
                #endif
                return 0;