diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2022-07-04 21:54:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-04 21:54:39 +0100 |
commit | d11874893efffbc13d8dacb8964d9b36825df635 (patch) | |
tree | b80bc5921bff6444a2bdb9ff9db4bfc838af9e50 | |
parent | bcc19a2fa7d3ca07c8238530e15a4d6fe6ec3e7e (diff) | |
parent | c7a79b12473615684290df62f3abcd8a919c0020 (diff) | |
download | rspamd-d11874893efffbc13d8dacb8964d9b36825df635.tar.gz rspamd-d11874893efffbc13d8dacb8964d9b36825df635.zip |
Merge pull request #4211 from ghtm2/master
[Minor] Update rspamd.spec to fix Fedora 36 build
-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} \ |