aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-12-19 02:21:47 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-12-19 02:21:47 +0000
commit8e2956edefafa73d2a4490613324604a5be4d07a (patch)
treee2911bace1ff1fd283802e58b72f5a10a46bd19c
parent18605f5233fde8aac58e1adb22edd75b25ed0e0c (diff)
parenteeb4480f2043f4a88414bfe44d6e036d53805eaf (diff)
downloadndk-8e2956edefafa73d2a4490613324604a5be4d07a.tar.gz
Merge "Package ld.gold for Win64."
-rw-r--r--checkbuild.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/checkbuild.py b/checkbuild.py
index cfd709b2a..bcbb2e726 100644
--- a/checkbuild.py
+++ b/checkbuild.py
@@ -244,10 +244,18 @@ def build_binutils(out_dir, args):
try:
install_dir = os.path.join(tmpdir, 'binutils', triple)
os.makedirs(install_dir)
+
+ has_gold = True
+ if host_tag == 'windows':
+ # Note: 64-bit Windows is fine.
+ has_gold = False
+ if arch in ('mips', 'mips64'):
+ has_gold = False
+
is_windows = host_tag.startswith('windows')
- has_gold = not triple.startswith('mips') and not is_windows
for file_name in get_binutils_files(triple, has_gold, is_windows):
install_file(file_name, toolchain_path, install_dir)
+
pack_binutils(arch, host_tag, out_dir, install_dir)
finally:
shutil.rmtree(tmpdir)