Fix build break caused by missing ifdefs.
Change-Id: I29e8e1c58b9702873a2a4b932794720ee279492e
diff --git a/lib/Renderscript/RSScript.cpp b/lib/Renderscript/RSScript.cpp
index 0051e1f..b7335ab 100644
--- a/lib/Renderscript/RSScript.cpp
+++ b/lib/Renderscript/RSScript.cpp
@@ -34,7 +34,7 @@
// NEON-capable devices can use an accelerated math library for all
// reduced precision scripts.
-#if defined(ARCH_ARM_HAVE_NEON)
+#if defined(ARCH_ARM_HAVE_NEON) && !defined(DISABLE_CLCORE_NEON)
const RSInfo* info = pScript.getInfo();
if ((info != NULL) &&
(info->getFloatPrecisionRequirement() != RSInfo::FP_Full)) {