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
This commit is contained in:
Mike Hommey 2019-01-29 01:15:49 +00:00
Родитель 5bea9f2e3e
Коммит 66719c16cf
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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,

Просмотреть файл

@ -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