From c749d4619fdc565d2e24363720258ba90496c05e Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 20 May 2018 20:50:23 +0200 Subject: [PATCH] Update build rules for Android As the "register" keyword is now no longer used by the Tesseract code, the compiler option -Wno-error=deprecated-register can be removed. Signed-off-by: Stefan Weil --- android/jni/Application.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/jni/Application.mk b/android/jni/Application.mk index ef8a2153f5..2a81173e08 100644 --- a/android/jni/Application.mk +++ b/android/jni/Application.mk @@ -7,7 +7,7 @@ else endif # Specify the hash namespace that we're using, based on the APP_STL we're using. -APP_CFLAGS += -Werror -DHASH_NAMESPACE=__gnu_cxx -Wno-error=deprecated-register +APP_CFLAGS += -Werror -DHASH_NAMESPACE=__gnu_cxx APP_PLATFORM := android-16 APP_STL := gnustl_static NDK_TOOLCHAIN_VERSION := clang