diff --git a/openldap2.changes b/openldap2.changes index 7acf395..a7ed528 100644 --- a/openldap2.changes +++ b/openldap2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 2 08:16:46 UTC 2019 - Martin Liška + +- Use FAT LTO objects in order to provide proper static library. + ------------------------------------------------------------------- Thu Jul 25 11:08:46 UTC 2019 - matthias.gerstner@suse.com diff --git a/openldap2.spec b/openldap2.spec index 26a1771..aee4feb 100644 --- a/openldap2.spec +++ b/openldap2.spec @@ -267,6 +267,7 @@ mv ../%{name_ppolicy_check_module}-%{version_ppolicy_check_module} contrib/slapd cp %{S:201} contrib/slapd-modules/%{name_ppolicy_check_module}/Makefile %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags} -Wno-format-extra-args -fno-strict-aliasing -DNDEBUG -DSLAP_CONFIG_DELETE -DSLAP_SCHEMA_EXPOSE -DLDAP_COLLECTIVE_ATTRIBUTES -DLDAP_USE_NON_BLOCKING_TLS" export STRIP="" ./configure \