Disable Clang internal assembler.
To avoid compilation errors with macros and directives in asm_support_x86.S.
BUG: 17443165
Change-Id: Ia89387bf2213cf1bfd4dd7248a19b47391e8fb67
diff --git a/runtime/Android.mk b/runtime/Android.mk
index 5065c58..493cfd1 100644
--- a/runtime/Android.mk
+++ b/runtime/Android.mk
@@ -345,6 +345,8 @@
art_ndebug_or_debug := $(2)
include $$(CLEAR_VARS)
+ # Clang assembler has problem with macros in asm_support_x86.S, http://b/17443165.
+ LOCAL_CLANG_ASFLAGS += -no-integrated-as
LOCAL_CPP_EXTENSION := $$(ART_CPP_EXTENSION)
ifeq ($$(art_ndebug_or_debug),ndebug)
LOCAL_MODULE := libart