mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Build with jessie sysroot on ARM
This commit is contained in:
committed by
Aleksei Kuzmin
parent
adaec2d32b
commit
152d573fbd
@@ -85,10 +85,7 @@ def main(args):
|
||||
def InstallDefaultSysrootForArch(target_arch):
|
||||
if target_arch not in VALID_ARCHS:
|
||||
raise Error('Unknown architecture: %s' % target_arch)
|
||||
if target_arch in ['amd64', 'arm64', 'i386']:
|
||||
InstallSysroot('Jessie', target_arch)
|
||||
else:
|
||||
InstallSysroot('Wheezy', target_arch)
|
||||
InstallSysroot('Jessie', target_arch)
|
||||
|
||||
|
||||
def InstallSysroot(target_platform, target_arch):
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
['target_arch=="arm"', {
|
||||
# sysroot needs to be an absolute path otherwise it generates
|
||||
# incorrect results when passed to pkg-config
|
||||
'sysroot%': '<(source_root)/vendor/debian_wheezy_arm-sysroot',
|
||||
'sysroot%': '<(source_root)/vendor/debian_jessie_arm-sysroot',
|
||||
}],
|
||||
['target_arch=="arm64"', {
|
||||
'sysroot%': '<(source_root)/vendor/debian_jessie_arm64-sysroot',
|
||||
|
||||
Reference in New Issue
Block a user