aboutsummaryrefslogtreecommitdiff
path: root/network/rspamd/Toolset.cmake.patch
diff options
context:
space:
mode:
authorEbben Aries <e@dscp.org>2020-09-26 05:12:49 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-26 16:10:54 +0700
commit7dc58003da48161c9fbd64f187503dc4b6c81608 (patch)
tree9ae82e4d1559254fabe57be609d343a01746ff45 /network/rspamd/Toolset.cmake.patch
parent127995585d2468d03145459e8f3d2b7586020bb1 (diff)
network/rspamd: Updated for version 2.5.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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()