ARM: Disable CPU detection for interpreter-only builds.

This commit is contained in:
Mike Pall 2011-09-08 15:34:53 +02:00
parent c56ae9f6ef
commit 1c5fbd4c1d

View File

@ -577,6 +577,7 @@ static uint32_t jit_cpudetect(lua_State *L)
#endif
#endif
#elif LJ_TARGET_ARM
#if LJ_HASJIT
/* Compile-time ARM CPU detection. */
#if __ARM_ARCH_7__ || __ARM_ARCH_7A__ || __ARM_ARCH_7R__
flags |= JIT_F_ARMV6|JIT_F_ARMV6T2|JIT_F_ARMV7;
@ -598,6 +599,7 @@ static uint32_t jit_cpudetect(lua_State *L)
}
}
#endif
#endif
#elif LJ_TARGET_PPC || LJ_TARGET_PPCSPE
/* Nothing to do. */
#else