libmsvcrt.a: Remove _create_locale and _free_locale

Bug: http://b/119309900

Upstream patch
https://sourceforge.net/p/mingw-w64/mailman/message/35630270/ added
these to libmsvcrt.a to be able to link with libc++.  But this
unnecessarily drops support for Windows 7, where MSVCRT.dll doesn't have
these functions.

Remove these locally.  I'll submit a patch upstream in the future.

Test: Build MinGW, build adb with the new MinGW and ensure it works on
Windows 7.

Change-Id: I9863313f868a73eed7a407a1c735e77379cefd83
1 file changed
tree: 0c2afb6d3deaf8416b1840a22c28f1263a2c18b3
  1. mingw-w64-v5.0.0/
  2. mingw-w64-v6.x/
  3. build.sh
  4. README.md
  5. README.version
README.md

Building Mingw for Android

The build.sh script in this directory is used to build mingw for Android.

Mingw is built from the mingw branch of AOSP. To fetch the sources:

repo init -u https://android.googlesource.com/platform/manifest -b mingw

# Googlers, use
repo init -u \
    persistent-https://android.git.corp.google.com/platform/manifest -b mingw

To build, run build.sh. Run with --help for a list of options.