summaryrefslogtreecommitdiffstats
path: root/network/rspamd/Toolset.cmake.patch
diff options
context:
space:
mode:
Diffstat (limited to 'network/rspamd/Toolset.cmake.patch')
-rw-r--r--network/rspamd/Toolset.cmake.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/network/rspamd/Toolset.cmake.patch b/network/rspamd/Toolset.cmake.patch
new file mode 100644
index 0000000000..f70735d899
--- /dev/null
+++ b/network/rspamd/Toolset.cmake.patch
@@ -0,0 +1,16 @@
+--- cmake/Toolset.cmake 2020-09-23 18:31:57.275661294 -0600
++++ cmake/Toolset.cmake 2020-09-23 18:32:34.812659218 -0600
+@@ -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()