summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils/cpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp
index e4615b4dd..6dfd5a98c 100644
--- a/src/utils/cpu.cpp
+++ b/src/utils/cpu.cpp
@@ -30,7 +30,7 @@ int mCpuFlags = 0;
void Cpu::detect()
{
-#if defined(__GNUC__) && (GCC_VERSION >= 40800)
+#if defined(__GNUC__) && (GCC_VERSION >= 40800) && !defined(ANDROID)
__builtin_cpu_init();
if (__builtin_cpu_supports ("mmx"))
mCpuFlags |= FEATURE_MMX;