diff options
author | ghtm2 <98537985+ghtm2@users.noreply.github.com> | 2022-07-03 15:21:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-03 15:21:17 +0200 |
commit | c7a79b12473615684290df62f3abcd8a919c0020 (patch) | |
tree | 8f1e8bb089b2868af85704399a6dcf6a83588993 | |
parent | f11071b6a2b0197c9be44a628a7633b659160a88 (diff) | |
download | rspamd-c7a79b12473615684290df62f3abcd8a919c0020.tar.gz rspamd-c7a79b12473615684290df62f3abcd8a919c0020.zip |
Use ld.bfd on Fedora 36
Link to upstream issue: https://bugzilla.redhat.com/show_bug.cgi?id=2043178
-rw-r--r-- | centos/rspamd.spec | 3 |
1 files changed, 3 insertions, 0 deletions
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} \ |