diff --git a/core/jni/Android.mk b/core/jni/Android.mk index 2af92c7afbb90..fc15b964826ed 100644 --- a/core/jni/Android.mk +++ b/core/jni/Android.mk @@ -273,6 +273,10 @@ LOCAL_CFLAGS += -Wall -Werror -Wno-error=deprecated-declarations -Wunused -Wunre # is not being compiled with that level. Remove once this has changed. LOCAL_CFLAGS += -Wno-c++11-extensions +# b/22414716: thread_local (android/graphics/Paint.cpp) and Clang don't like each other at the +# moment. +LOCAL_CLANG := false + include $(BUILD_SHARED_LIBRARY) include $(call all-makefiles-under,$(LOCAL_PATH))