Skip to content

Commit fe0a962

Browse files
committed
Use Jessie sysroot for building on amd64 and i386
1 parent c6ba812 commit fe0a962

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

script/install-sysroot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def main(args):
8585
def InstallDefaultSysrootForArch(target_arch):
8686
if target_arch not in VALID_ARCHS:
8787
raise Error('Unknown architecture: %s' % target_arch)
88-
if target_arch == 'arm64':
88+
if target_arch in ['amd64', 'arm64', 'i386']:
8989
InstallSysroot('Jessie', target_arch)
9090
else:
9191
InstallSysroot('Wheezy', target_arch)

toolchain.gypi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
'sysroot%': '<(source_root)/vendor/debian_jessie_arm64-sysroot',
5757
}],
5858
['target_arch=="ia32"', {
59-
'sysroot%': '<(source_root)/vendor/debian_wheezy_i386-sysroot',
59+
'sysroot%': '<(source_root)/vendor/debian_jessie_i386-sysroot',
6060
}],
6161
['target_arch=="x64"', {
62-
'sysroot%': '<(source_root)/vendor/debian_wheezy_amd64-sysroot',
62+
'sysroot%': '<(source_root)/vendor/debian_jessie_amd64-sysroot',
6363
}],
6464
],
6565
},

0 commit comments

Comments
 (0)