summaryrefslogtreecommitdiffstats
path: root/build/Android.common.mk
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-03-07 14:49:39 -0800
committerIan Rogers <irogers@google.com>2014-03-07 22:30:41 -0800
commit87f8b4cf0c1d6aab3eb5d1e99cc4e7cf175ef772 (patch)
tree2828105f52e2830842d4d62477bd1a613ae6b93f /build/Android.common.mk
parenta54ece27b9bfd651fc3173bf43ca030652306b6e (diff)
downloadart-87f8b4cf0c1d6aab3eb5d1e99cc4e7cf175ef772.tar.gz
art-87f8b4cf0c1d6aab3eb5d1e99cc4e7cf175ef772.tar.bz2
art-87f8b4cf0c1d6aab3eb5d1e99cc4e7cf175ef772.zip
Make clang the default compiler on host.
Motivation, GCC's compiler warnings are inferior to clang's. -Wthread-safety is not supported by GCC starting with version 4.7. As this change only effects the host, performance issues are an impact on host building and testing alone. Fix clang gtest building on host with BUILD_HOST_64bit. Fix clang build regressions caused by unused fields. Fix x86-64 regression caused by requirement to fire-up quick compiler even in an interpret-only environment. Long-term this code doesn't belong in the quick compiler. Change-Id: Ifc2b10177f40d0724cbbf8dab9653ac03cdd1cee
Diffstat (limited to 'build/Android.common.mk')
-rw-r--r--build/Android.common.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/build/Android.common.mk b/build/Android.common.mk
index f58aabc0b5..07f5cd30fa 100644
--- a/build/Android.common.mk
+++ b/build/Android.common.mk
@@ -93,11 +93,7 @@ LLVM_ROOT_PATH := external/llvm
# Clang build support.
ART_TARGET_CLANG := false
-ifeq ($(HOST_OS),darwin)
- ART_HOST_CLANG := true
-else
- ART_HOST_CLANG := false
-endif
+ART_HOST_CLANG := true
# directory used for dalvik-cache on device
ART_DALVIK_CACHE_DIR := /data/dalvik-cache