From 95ef460821b96c21b23d9abe599de31a1bea8cb9 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 22 Oct 2013 14:26:51 -0400 Subject: [PATCH] android: Only execute customized benchmarks when compiling for ARM based CPUs --- client/cs_benchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cs_benchmark.cpp b/client/cs_benchmark.cpp index 6139535c68..7488674500 100644 --- a/client/cs_benchmark.cpp +++ b/client/cs_benchmark.cpp @@ -172,7 +172,7 @@ int cpu_benchmarks(BENCHMARK_DESC* bdp) { bdp->error_str[0] = '\0'; host_info.clear_host_info(); -#ifdef ANDROID +#if defined(ANDROID) && defined(__arm__) // check for FP accelerator: VFP, Neon, or none; // run the appropriate version of Whetstone // (separated using namespaces)