diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-02-08 12:45:48 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-02-08 12:45:48 +0000 |
commit | b048264d7b5451974e36971957b14a1492c65337 (patch) | |
tree | d41ca5174e24402dc1d138b07175f929068d1273 /rpm | |
parent | 1a789a0fcfb0db40c3c5853cd09d9a5e971aa83c (diff) | |
download | rspamd-b048264d7b5451974e36971957b14a1492c65337.tar.gz rspamd-b048264d7b5451974e36971957b14a1492c65337.zip |
[Minor] Some more fixes to rpm spec
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/rspamd.spec | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rpm/rspamd.spec b/rpm/rspamd.spec index 19f9e3634..ff2656725 100644 --- a/rpm/rspamd.spec +++ b/rpm/rspamd.spec @@ -58,9 +58,10 @@ lua. %else %{__cmake} \ %endif - -DCMAKE_BUILD_TYPE="Release" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_C_FLAGS_RELEASE="%{optflags}" \ -DCMAKE_CXX_FLAGS_RELEASE="%{optflags}" \ + -DENABLE_LTO=ON \ %if 0%{?fedora} >= 36 -DLINKER_NAME=/usr/bin/ld.bfd \ %endif @@ -90,7 +91,7 @@ lua. %endif -DENABLE_BLAS=ON -%{__make} %{?jobs:-j%jobs} +%{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} INSTALLDIRS=vendor |