Merge "Disable clang compilation for x86_64, mips, mips64."
am: 9fb05555a4

* commit '9fb05555a41eb0cdbe6cef8bbe5860a4a8bfcfb2':
  Disable clang compilation for x86_64, mips, mips64.
diff --git a/Android.build.mk b/Android.build.mk
index fc9324b..f7b6fe1 100644
--- a/Android.build.mk
+++ b/Android.build.mk
@@ -16,6 +16,11 @@
 
 include $(CLEAR_VARS)
 
+ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),mips mips64 x86_64))
+# Many init services failed to start with clang for x86_64, mips, mips64
+LOCAL_CLANG := false
+endif
+
 LOCAL_MODULE := $(libunwind_module)
 LOCAL_MODULE_TAGS := $(libunwind_module_tag)
 ifeq ($(libunwind_build_type),host)