Build winpthreads during mingw build

Change-Id: I34816d252e0cdf6254352d1bd31b20b22839bc68
Test: Run this script in the mingw branch and use the generated MinGW to
build Clang for Windows.
1 file changed
tree: 1018067ebed0bb1c59aa8ef7023dfbdc06ee9c21
  1. mingw-w64-v4.0.4/
  2. build.sh
  3. README.md
  4. 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.