Pick upstream fix to __MINGW_{PRINTF,SCANF}_FORMAT

Bug: http://b/69933090

Change: stdio.h: Don't use ms_* and gnu_* format attributes on clang.
URL:
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/015e637b4b24d9915162ab877ed539ad0e657951/

Test: Use updated MinGW toolchain to build Android Windows host tools
using Clang.

Change-Id: If362150efc8db3e6641ac336d716984a9e06b166
1 file changed
tree: e00cc95476d1c15f85bb984e2688a5dc25b9b33a
  1. mingw-w64-v5.0.0/
  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.