diff options
Diffstat (limited to 'dont-use-sysroot.patch')
-rw-r--r-- | dont-use-sysroot.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dont-use-sysroot.patch b/dont-use-sysroot.patch new file mode 100644 index 000000000000..6475f190e38c --- /dev/null +++ b/dont-use-sysroot.patch @@ -0,0 +1,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', |