summaryrefslogtreecommitdiff
path: root/rspamd/use-gold-ld.patch
diff options
context:
space:
mode:
Diffstat (limited to 'rspamd/use-gold-ld.patch')
-rw-r--r--rspamd/use-gold-ld.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/rspamd/use-gold-ld.patch b/rspamd/use-gold-ld.patch
new file mode 100644
index 0000000..61b1047
--- /dev/null
+++ b/rspamd/use-gold-ld.patch
@@ -0,0 +1,16 @@
+--- a/cmake/Toolset.cmake 2020-02-04 17:00:17.000000000 +0100
++++ b/cmake/Toolset.cmake 2020-02-09 22:11:19.914735934 +0100
+@@ -45,10 +45,10 @@
+ find_program(GOLD_PATH NAMES "ld.gold" "gold")
+
+ if(NOT LINKER_NAME)
+- if(LLD_PATH)
+- set(LINKER_NAME "lld")
+- elseif(GOLD_PATH)
++ if(GOLD_PATH)
+ set(LINKER_NAME "gold")
++ elseif(LLD_PATH)
++ set(LINKER_NAME "lld")
+ else()
+ message(STATUS "Use generic 'ld' as a linker")
+ endif()