Build binutils with --disable-nls

The --disable-nls flag is also used to build gdb and gcc for Android.
Adding it here prevents 428 *.mo files from being added to the next NDK
release. (AFAICT, the SDK and NDK currently have no *.mo files.) It also
fixes a sporadic build failure that can happen when binutils needs its
bundled copy of libintl/gettext (see build 4635300 of ab/aosp-binutils or
the linked issue).

Test: ./toolchain/binutils/build.py --arch arm --host win
Test: ./toolchain/binutils/build.py --arch arm --host win64
Test: ./toolchain/binutils/build.py --arch arm --host linux
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=22941
Change-Id: I0810406dc52f366fac7491676c2d5cb000fcfcaa
1 file changed
tree: a840cd671b54ce74a633c274b0afaeb8c9894abe
  1. binutils-2.27/
  2. build.py
  3. OWNERS
  4. pylintrc