summaryrefslogtreecommitdiff
path: root/dev-util/boost-build/remove-gcc-link-semaphore.patch
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2020-06-15 11:02:44 +0100
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2020-06-15 11:02:44 +0100
commitc7dc3f3ea20df9c794916543b844a43b2626e504 (patch)
treeaa4ce911a0c0cd736c3fe0d4210574c61ecbbd0a /dev-util/boost-build/remove-gcc-link-semaphore.patch
parentFails to apply and I don't use networkmanager now anyway (diff)
downloadpatches-c7dc3f3ea20df9c794916543b844a43b2626e504.tar.bz2
patches-c7dc3f3ea20df9c794916543b844a43b2626e504.tar.xz
patches-c7dc3f3ea20df9c794916543b844a43b2626e504.zip
Remove GCC link semaphore
It's not the bottleneck it's believed to be, least not for me :)
Diffstat (limited to 'dev-util/boost-build/remove-gcc-link-semaphore.patch')
-rw-r--r--dev-util/boost-build/remove-gcc-link-semaphore.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-util/boost-build/remove-gcc-link-semaphore.patch b/dev-util/boost-build/remove-gcc-link-semaphore.patch
new file mode 100644
index 0000000..41e2a2a
--- /dev/null
+++ b/dev-util/boost-build/remove-gcc-link-semaphore.patch
@@ -0,0 +1,20 @@
+--- a/tools/gcc.jam 2020-06-15 10:53:45.252253351 +0100
++++ b/tools/gcc.jam 2020-05-26 16:17:53.190885235 +0100
+@@ -1104,7 +1104,7 @@
+ # Serialize execution of the 'link' action, since running N links in
+ # parallel is just slower. For now, serialize only gcc links, it might be a
+ # good idea to serialize all links.
+- JAM_SEMAPHORE on $(targets) = <s>gcc-link-semaphore ;
++#JAM_SEMAPHORE on $(targets) = <s>gcc-link-semaphore ;
+ quote-rpath $(targets) ;
+ }
+
+@@ -1116,7 +1116,7 @@
+ rule link.dll ( targets * : sources * : properties * )
+ {
+ SPACE on $(targets) = " " ;
+- JAM_SEMAPHORE on $(targets) = <s>gcc-link-semaphore ;
++#JAM_SEMAPHORE on $(targets) = <s>gcc-link-semaphore ;
+ quote-rpath $(targets) ;
+ }
+