aboutsummaryrefslogtreecommitdiff
path: root/checkbuild.py
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-11-17 14:43:59 -0800
committerDan Albert <danalbert@google.com>2015-11-17 15:43:47 -0800
commitf789e704d7199b8cb2937e0579f42891933fc614 (patch)
treebdcf396065672f65c3d765d16e428f418e2901ec /checkbuild.py
parenta3aaa618ba5f675fdff94a19503f4401d9310d7d (diff)
downloadndk-f789e704d7199b8cb2937e0579f42891933fc614.tar.gz
Remove the $HOST_TAG from binutils and toolchains.
Turns out this complicates a lot of code unnecessarily because we need to always check if we're a 32- or 64-bit NDK on Windows. Bug: http://b/25454836 Change-Id: I50c53aee76fbc88f0be8c95d7ae6e7d550ca468e
Diffstat (limited to 'checkbuild.py')
-rw-r--r--checkbuild.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/checkbuild.py b/checkbuild.py
index 20329aac9..aa436c2bf 100644
--- a/checkbuild.py
+++ b/checkbuild.py
@@ -246,8 +246,7 @@ def build_binutils(out_dir, args):
triple = fixup_toolchain_triple(toolchain)
tmpdir = tempfile.mkdtemp()
try:
- install_dir = os.path.join(tmpdir, 'binutils', host_tag,
- toolchain)
+ install_dir = os.path.join(tmpdir, 'binutils', toolchain)
os.makedirs(install_dir)
is_windows = host_tag.startswith('windows')
has_gold = not triple.startswith('mips') and not is_windows