Browse Source

Build with jessie sysroot on ARM

Kevin Sawicki 7 years ago
parent
commit
152d573fbd
2 changed files with 2 additions and 5 deletions
  1. 1 4
      script/install-sysroot.py
  2. 1 1
      toolchain.gypi

+ 1 - 4
script/install-sysroot.py

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

+ 1 - 1
toolchain.gypi

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