]> source.dussan.org Git - rspamd.git/commitdiff
Use ld.bfd on Fedora 36 4211/head
authorghtm2 <98537985+ghtm2@users.noreply.github.com>
Sun, 3 Jul 2022 13:21:17 +0000 (15:21 +0200)
committerGitHub <noreply@github.com>
Sun, 3 Jul 2022 13:21:17 +0000 (15:21 +0200)
Link to upstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=2043178

centos/rspamd.spec

index ed230fe5c4cd387399e3ac03f836df0723b7bb45..85aab601852293e3ad4fcb09f49bff6da8fd3aae 100644 (file)
@@ -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} \