- restore the overriden CMAKE_SHARED_LINKER_FLAGS but only remove
the --undefined option as rspamd doesnt have its dependencies between parts of the code correct OBS-URL: https://build.opensuse.org/package/show/server:mail/rspamd?expand=0&rev=123
This commit is contained in:
parent
27b83fd8cd
commit
57b25ebcd6
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 2 10:28:56 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- restore the overriden CMAKE_SHARED_LINKER_FLAGS but only remove
|
||||
the --undefined option as rspamd doesnt have its dependencies
|
||||
between parts of the code correct
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 2 09:59:49 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
|
@ -121,6 +121,7 @@ BuildRequires: pkgconfig(systemd)
|
||||
%{?systemd_ordering}
|
||||
%endif
|
||||
BuildRequires: lapack-devel
|
||||
BuildRequires: lua%{?lua_version}-lpeg
|
||||
BuildRequires: pkgconfig(libunwind)
|
||||
BuildRequires: pkgconfig(libxxhash)
|
||||
BuildRequires: pkgconfig(libzstd)
|
||||
@ -185,6 +186,7 @@ export CXX="g++-%{?force_gcc_version}"
|
||||
%if 0%{suse_version} == 1315
|
||||
-DCMAKE_USER_MAKE_RULES_OVERRIDE="" \
|
||||
%endif
|
||||
-DCMAKE_SHARED_LINKER_FLAGS='-flto=auto -Wl,--as-needed -Wl,-z,now' \
|
||||
-DCMAKE_EXE_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,-z,now -pie" \
|
||||
-DRSPAMD_LIBDIR=%{_libdir}/rspamd \
|
||||
-DCONFDIR=%{_sysconfdir}/rspamd \
|
||||
|
Loading…
x
Reference in New Issue
Block a user