summarylogtreecommitdiffstats
path: root/dont-use-sysroot.patch
diff options
context:
space:
mode:
authorJonas Heinrich2017-11-28 22:19:37 +0100
committerJonas Heinrich2017-11-28 22:19:37 +0100
commitbe249aa85007b8d48a4eab7dfe38e2404f70034c (patch)
tree56dc099158b510b348ec5f734434eea8a2f74f90 /dont-use-sysroot.patch
downloadaur-electron-wayland.tar.gz
first commit
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..ae8b9915fabb
--- /dev/null
+++ b/dont-use-sysroot.patch
@@ -0,0 +1,27 @@
+--- a/script/bootstrap.py
++++ b/script/bootstrap.py
+@@ -57,9 +57,6 @@
+ libcc_source_path, libcc_shared_library_path,
+ libcc_static_library_path)
+
+- if PLATFORM == 'linux':
+- download_sysroot(args.target_arch)
+-
+ create_chrome_version_h()
+ touch_config_gypi()
+ run_update(defines, args.msvs)
+--- a/toolchain.gypi
++++ b/toolchain.gypi
+@@ -53,10 +53,10 @@
+ 'sysroot%': '<(source_root)/vendor/debian_wheezy_arm-sysroot',
+ }],
+ ['target_arch=="ia32"', {
+- 'sysroot%': '<(source_root)/vendor/debian_wheezy_i386-sysroot',
++ 'sysroot%': '/',
+ }],
+ ['target_arch=="x64"', {
+- 'sysroot%': '<(source_root)/vendor/debian_wheezy_amd64-sysroot',
++ 'sysroot%': '/',
+ }],
+ ],
+ },