diff options
-rw-r--r-- | build/Android.common_build.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/Android.common_build.mk b/build/Android.common_build.mk index c7333b8..d812678 100644 --- a/build/Android.common_build.mk +++ b/build/Android.common_build.mk @@ -72,6 +72,12 @@ ART_TARGET_CFLAGS := # Host. ART_HOST_CLANG := false + +ifeq ($(HOST_OS),darwin) + # Local darwin gcc is ancient + WITHOUT_HOST_CLANG ?= false +endif + ifeq ($(WITHOUT_HOST_CLANG),false) # By default, host builds use clang for better warnings. ART_HOST_CLANG := true |