summarylogtreecommitdiffstats
path: root/dont-use-sysroot.patch
diff options
context:
space:
mode:
authorAntonio Rojas2020-04-13 11:08:36 +0000
committerAntonio Rojas2020-04-13 11:08:36 +0000
commitb2e2e1d75c23f488f4683912196391102306749b (patch)
tree100ba7a825baad5b11c864a96c54c24049e14e3d /dont-use-sysroot.patch
downloadaur-electron2.tar.gz
Dropped from repos
Diffstat (limited to 'dont-use-sysroot.patch')
-rw-r--r--dont-use-sysroot.patch27
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',