diff options
-rwxr-xr-x | ndk/checkbuild.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ndk/checkbuild.py b/ndk/checkbuild.py index a7d41aacf..891900c2c 100755 --- a/ndk/checkbuild.py +++ b/ndk/checkbuild.py @@ -693,6 +693,10 @@ class Make(ndk.builds.AutoconfModule): path = 'prebuilt/{host}' notice_group = ndk.builds.NoticeGroup.TOOLCHAIN src: Path = ndk.paths.ANDROID_DIR / 'toolchain/make' + # The macOS sed chokes on invalid UTF-8 in config.h-vms.template, at least + # for the old version on some build servers. (It works fine locally on + # 10.15.) This is stackoverflow's suggested workaround. + env = {'LC_ALL': 'C', 'LANG': 'C'} @property def notices(self) -> List[str]: |