From 6fa214b61c53685d846a18d1001aa437c8338821 Mon Sep 17 00:00:00 2001 From: Ryan Prichard Date: Mon, 22 Jan 2018 22:23:52 -0800 Subject: [PATCH] Use {i686,x86_64}-w64-mingw32 triples Test: ./toolchain/binutils/build.py --arch arm --host win Test: ./toolchain/binutils/build.py --arch arm --host win64 Change-Id: I0a47faa82c9690acf2ea3e50f8bcb812fdbc6fc9 --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 1ff9ade0..6a99aca9 100755 --- a/build.py +++ b/build.py @@ -73,8 +73,8 @@ def configure(arch, host, install_dir, src_dir): configure_host = { 'darwin': 'x86_64-apple-darwin', 'linux': 'x86_64-linux-gnu', - 'win': 'i586-pc-mingw32msvc', - 'win64': 'x86_64-pc-mingw32msvc', + 'win': 'i686-w64-mingw32', + 'win64': 'x86_64-w64-mingw32', }[host] sysroot = ndk.paths.sysroot_path(ndk.abis.arch_to_toolchain(arch))