No locales in Android, just set the lot to undef
authorJess Robinson <castaway@desert-island.me.uk>
Fri, 19 Apr 2013 11:18:46 +0000 (12:18 +0100)
committerBrian Fraser <fraserbn@gmail.com>
Sun, 26 Jan 2014 17:44:19 +0000 (14:44 -0300)
hints/linux-android.sh

index e6b775a..fdef9ed 100644 (file)
@@ -5,6 +5,13 @@ userelocatableinc='define'
 # On Android the shell is /system/bin/sh:
 targetsh='/system/bin/sh'
 
+# Down with locales!
+# https://github.com/android/platform_bionic/blob/master/libc/CAVEATS
+d_locconv='undef'
+d_setlocale='undef'
+d_setlocale_r='undef'
+i_locale='undef'
+
 
 case "$src" in
     /*) run=$src/Cross/run