commit c7a79b1: Use ld.bfd on Fedora 36
GitHub
noreply at github.com
Mon Jul 4 20:56:03 UTC 2022
Author: ghtm2
Date: 2022-07-03 15:21:17 +0200
URL: https://github.com/rspamd/rspamd/commit/c7a79b12473615684290df62f3abcd8a919c0020 (refs/pull/4211/head)
Use ld.bfd on Fedora 36
Link to upstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=2043178
---
centos/rspamd.spec | 3 +++
1 file changed, 3 insertions(+)
diff --git a/centos/rspamd.spec b/centos/rspamd.spec
index ed230fe5c..85aab6018 100644
--- a/centos/rspamd.spec
+++ b/centos/rspamd.spec
@@ -54,6 +54,9 @@ lua.
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_C_FLAGS_RELEASE="%{optflags}" \
-DCMAKE_CXX_FLAGS_RELEASE="%{optflags}" \
+%if 0%{?fedora} >= 36
+ -DLINKER_NAME=/usr/bin/ld.bfd \
+%endif
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCONFDIR=%{_sysconfdir}/rspamd \
-DMANDIR=%{_mandir} \
More information about the Commits
mailing list