Skip to content

Commit

Permalink
Update build rules for Android
Browse files Browse the repository at this point in the history
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 <sw@weilnetz.de>
  • Loading branch information
stweil committed May 20, 2018
1 parent bb34351 commit c749d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/jni/Application.mk
Expand Up @@ -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

0 comments on commit c749d46

Please sign in to comment.