Merge "Add missing $() when testing TARGET_ARCH."
diff --git a/build/Android.oat.mk b/build/Android.oat.mk
index 6ceb1f9..4762e4d 100644
--- a/build/Android.oat.mk
+++ b/build/Android.oat.mk
@@ -131,7 +131,7 @@
   core_dex2oat_dependency := $(DEX2OAT_DEPENDENCY)
 
   ifeq ($(1),optimizing)
-    ifeq ($(3)TARGET_ARCH,arm64)
+    ifeq ($($(3)TARGET_ARCH),arm64)
       # TODO: Enable image generation on arm64 once the backend
       # is on par with other architectures.
       core_compile_options += --compiler-backend=Quick