enable libcompiler-rt build for mips

- without this, build with clang fails.
- MIPS version only uses c version

Change-Id: I360c99e658b021eb8d0eea271160690ce1a29152
diff --git a/Android.mk b/Android.mk
index d06525c..2e0388c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -22,8 +22,6 @@
 # Device Static Library: libbccCompilerRT
 #=====================================================================
 
-ifneq ($(TARGET_ARCH),mips)
-
 include $(CLEAR_VARS)
 
 LOCAL_MODULE := libcompiler-rt
@@ -89,14 +87,16 @@
       lib/i386/udivdi3.S \
       lib/i386/umoddi3.S
   else
-    $(error Unsupported TARGET_ARCH $(TARGET_ARCH))
+    ifeq ($(TARGET_ARCH),mips)
+      # nothing to add
+    else
+      $(error Unsupported TARGET_ARCH $(TARGET_ARCH))
+    endif
   endif
 endif
 
 include $(BUILD_STATIC_LIBRARY)
 
-endif # ifneq($(TARGET_ARCH),mips)
-
 include $(COMPILER_RT_PATH)/lib/Android.mk
 
 include $(COMPILER_RT_PATH)/lib/asan/Android.mk
diff --git a/lib/Android.mk b/lib/Android.mk
index 5fef581..2ebd5e5 100644
--- a/lib/Android.mk
+++ b/lib/Android.mk
@@ -21,7 +21,6 @@
 # Device Static Library: libcompiler-rt-builtins
 #=====================================================================
 
-ifneq ($(TARGET_ARCH),mips)
 
 include $(CLEAR_VARS)
 
@@ -182,5 +181,4 @@
 
 include $(BUILD_STATIC_LIBRARY)
 
-endif # ifneq($(TARGET_ARCH),mips)