aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorPo Lu2023-03-04 13:38:00 +0800
committerPo Lu2023-03-04 13:38:00 +0800
commit39a7e6b79fdeafc539a36f6831d922a2622cb679 (patch)
treec941a2c72df15bcbbd6d3a37b8b0ae3bd341244d /java
parent798003b04f6e2ce358c2d801684b0bfbf54eaeaa (diff)
downloademacs-39a7e6b79fdeafc539a36f6831d922a2622cb679.tar.gz
emacs-39a7e6b79fdeafc539a36f6831d922a2622cb679.zip
Port to broken Android NDK version
* configure.ac: Check for __ctype_get_mb_cur_max. Then see if MB_CUR_MAX is defined to it, and define REPLACEMENT_MB_CUR_MAX if so and it does not link. * java/INSTALL: Update documentation. * src/conf_post.h (MB_CUR_MAX): Define replacement if necessary.
Diffstat (limited to 'java')
-rw-r--r--java/INSTALL9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/INSTALL b/java/INSTALL
index b331d09d9ff..37f7048b89d 100644
--- a/java/INSTALL
+++ b/java/INSTALL
@@ -129,6 +129,15 @@ so:
129 129
130 ./configure --with-ndk-cxx=/path/to/toolchain/bin/i686-linux-android-g++ 130 ./configure --with-ndk-cxx=/path/to/toolchain/bin/i686-linux-android-g++
131 131
132Some versions of the NDK have a bug, where GCC fails to locate
133``stddef.h'' after being copied to a standalone toolchain. To work
134around this problem (which normally exhibits itself when building C++
135code), add:
136
137 -isystem /path/to/toolchain/include/c++/4.9.x
138
139to ANDROID_CFLAGS.
140
132 141
133DEBUG AND RELEASE BUILDS 142DEBUG AND RELEASE BUILDS
134 143