Build libcore native code on the host with clang.

Bug: 13751317
Change-Id: I9932b60b892d878bdac9ab30a37621f26910f358
diff --git a/NativeCode.mk b/NativeCode.mk
index 733f62e..2a16598 100644
--- a/NativeCode.mk
+++ b/NativeCode.mk
@@ -114,6 +114,7 @@
 
 ifeq ($(WITH_HOST_DALVIK),true)
     include $(CLEAR_VARS)
+    LOCAL_CLANG := true
     LOCAL_SRC_FILES += $(core_src_files)
     LOCAL_CFLAGS += $(core_cflags)
     LOCAL_C_INCLUDES += $(core_c_includes)
@@ -128,6 +129,7 @@
 
     ifeq ($(LIBCORE_SKIP_TESTS),)
     include $(CLEAR_VARS)
+    LOCAL_CLANG := true
     LOCAL_SRC_FILES += $(core_test_files)
     LOCAL_CFLAGS += $(core_cflags)
     LOCAL_C_INCLUDES += libcore/include external/openssl/include