diff options
author | Elliott Hughes <enh@google.com> | 2020-04-13 16:19:07 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2020-04-13 16:19:07 +0000 |
commit | 28df01568e9323aa7b33986b0e5647dc5ab8b908 (patch) | |
tree | 25f4849bc8a77daa5d7c140e117ee8b5fe3c56d3 /ndk/checkbuild.py | |
parent | 286d215d8c29a33f824c99d3d9460273e7696a9e (diff) | |
parent | 8bd9308dcba0a52c7311c4d29ea5a327d55d3451 (diff) | |
download | ndk-28df01568e9323aa7b33986b0e5647dc5ab8b908.tar.gz |
Merge "Try to fix the make build on the old macOS build bots."
Diffstat (limited to 'ndk/checkbuild.py')
-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]: |