From 66719c16cf8098151932fcfa4cfb8eab04be5316 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Tue, 29 Jan 2019 01:15:49 +0000 Subject: [PATCH] Bug 1523143 - Remove --host configure flags from autospider builds. r=chmanchester --host is autodetected and may not actually be what the currently given values are. Differential Revision: https://phabricator.services.mozilla.com/D17765 --HG-- extra : moz-landing-system : lando --- js/src/devtools/automation/autospider.py | 6 +++--- js/src/devtools/automation/variants/arm-sim | 2 +- js/src/devtools/automation/variants/arm-sim-osx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/src/devtools/automation/autospider.py b/js/src/devtools/automation/autospider.py index ce06c04f8658..59f75f910265 100755 --- a/js/src/devtools/automation/autospider.py +++ b/js/src/devtools/automation/autospider.py @@ -282,10 +282,10 @@ elif platform.system() == 'Windows': # Configure flags, based on word length and cross-compilation if word_bits == 32: if platform.system() == 'Windows': - CONFIGURE_ARGS += ' --target=i686-pc-mingw32 --host=i686-pc-mingw32' + CONFIGURE_ARGS += ' --target=i686-pc-mingw32' elif platform.system() == 'Linux': if not platform.machine().startswith('arm'): - CONFIGURE_ARGS += ' --target=i686-pc-linux --host=i686-pc-linux' + CONFIGURE_ARGS += ' --target=i686-pc-linux' # Add SSE2 support for x86/x64 architectures. if not platform.machine().startswith('arm'): @@ -297,7 +297,7 @@ if word_bits == 32: env['CXXFLAGS'] = '{0} {1}'.format(env.get('CXXFLAGS', ''), sse_flags) else: if platform.system() == 'Windows': - CONFIGURE_ARGS += ' --target=x86_64-pc-mingw32 --host=x86_64-pc-mingw32' + CONFIGURE_ARGS += ' --target=x86_64-pc-mingw32' if platform.system() == 'Linux' and AUTOMATION: CONFIGURE_ARGS = '--enable-stdcxx-compat --disable-gold ' + CONFIGURE_ARGS diff --git a/js/src/devtools/automation/variants/arm-sim b/js/src/devtools/automation/variants/arm-sim index 4ffadbb20910..fca0d6fba689 100644 --- a/js/src/devtools/automation/variants/arm-sim +++ b/js/src/devtools/automation/variants/arm-sim @@ -1,5 +1,5 @@ { - "configure-args": "--enable-simulator=arm --target=i686-pc-linux --host=i686-pc-linux", + "configure-args": "--enable-simulator=arm --target=i686-pc-linux", "optimize": true, "debug": true, "bits": 32, diff --git a/js/src/devtools/automation/variants/arm-sim-osx b/js/src/devtools/automation/variants/arm-sim-osx index cf8bdcb3dcb5..816fbbac8062 100644 --- a/js/src/devtools/automation/variants/arm-sim-osx +++ b/js/src/devtools/automation/variants/arm-sim-osx @@ -1,5 +1,5 @@ { - "configure-args": "--enable-simulator=arm --target=i686-apple-darwin10.0.0 --host=i686-apple-darwin10.0.0", + "configure-args": "--enable-simulator=arm --target=i686-apple-darwin10.0.0", "optimize": true, "debug": true, "bits": 32