summaryrefslogtreecommitdiff
path: root/chromium-disable-parallel-gold.patch
diff options
context:
space:
mode:
Diffstat (limited to 'chromium-disable-parallel-gold.patch')
-rw-r--r--chromium-disable-parallel-gold.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium-disable-parallel-gold.patch b/chromium-disable-parallel-gold.patch
new file mode 100644
index 0000000..d25912d
--- /dev/null
+++ b/chromium-disable-parallel-gold.patch
@@ -0,0 +1,13 @@
+diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
+index 01d97a360..a9a721403 100644
+--- a/build/config/compiler/BUILD.gn
++++ b/build/config/compiler/BUILD.gn
+@@ -415,8 +415,6 @@ config("compiler") {
+ # https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/281527606915bb36
+ # Only apply this to the target linker, since the host
+ # linker might not be gold, but isn't used much anyway.
+- "-Wl,--threads",
+- "-Wl,--thread-count=4",
+ ]
+ }
+