summarylogtreecommitdiffstats
path: root/dont-use-sysroot.patch
blob: 6475f190e38c08019d1bce466dc692d0d015b074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- a/script/bootstrap.py
+++ b/script/bootstrap.py
@@ -63,9 +63,6 @@ def main():
                            libcc_source_path, libcc_shared_library_path,
                            libcc_static_library_path)
 
-  if PLATFORM == 'linux' and args.target_arch != 'mips64el':
-    download_sysroot(args.target_arch)
-
   create_chrome_version_h()
   touch_config_gypi()
   run_update(defines, args.msvs)
--- a/toolchain.gypi
+++ b/toolchain.gypi
@@ -62,10 +62,10 @@
               'sysroot%': '<(source_root)/vendor/debian_jessie_arm64-sysroot',
             }],
             ['target_arch=="ia32"', {
-              'sysroot%': '<(source_root)/vendor/debian_jessie_i386-sysroot',
+              'sysroot%': '/',
             }],
             ['target_arch=="x64"', {
-              'sysroot%': '<(source_root)/vendor/debian_jessie_amd64-sysroot',
+              'sysroot%': '/',
             }],
             ['target_arch=="mips64el"', {
               'sysroot%': '<(source_root)/vendor/debian_jessie_mips64-sysroot',