diff --git a/xwords4/android/XWords4-bt/jni/Android.mk b/xwords4/android/XWords4-bt/jni/Android.mk index 26595202b..e1cae54a1 100644 --- a/xwords4/android/XWords4-bt/jni/Android.mk +++ b/xwords4/android/XWords4-bt/jni/Android.mk @@ -90,5 +90,10 @@ LOCAL_LDLIBS := -L${SYSROOT}/usr/lib -llog -lz include $(BUILD_SHARED_LIBRARY) +ifneq ($(shell which ccache),) + TARGET_CC = ccache $(TOOLCHAIN_PREFIX)gcc + TARGET_CXX = ccache $(TOOLCHAIN_PREFIX)g++ +endif + COMMON_SRC_FILES := COMMON_PATH :=