Merge "Fix build break by not building compiler-rt without clang."
diff --git a/Android.mk b/Android.mk
index 2fe6909..f76764f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -280,6 +280,9 @@
       $(libcompiler_rt_x86_64_SRC_FILES),x86_64)
 endef
 
+# Don't build compiler-rt without clang
+ifneq ($(WITHOUT_TARGET_CLANG), true)
+
 #=====================================================================
 # Device Static Library: libcompiler_rt-extras
 #=====================================================================
@@ -334,3 +337,5 @@
 
 # Build ASan
 include $(LOCAL_PATH)/lib/asan/Android.mk
+
+endif
\ No newline at end of file