Accepting request 809058 from home:cgiboudeaux:branches:network

- Don't add the lto flags to the public link options. (boo#1172038)

- Don't add the lto flags to the public link options. (boo#1172038)

OBS-URL: https://build.opensuse.org/request/show/809058
OBS-URL: https://build.opensuse.org/package/show/network/krb5?expand=0&rev=234
This commit is contained in:
Samuel Cabrero 2020-05-28 14:56:34 +00:00 committed by Git OBS Bridge
parent 4598210276
commit 2564aa071d
4 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 26 15:36:25 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Don't add the lto flags to the public link options. (boo#1172038)
-------------------------------------------------------------------
Mon May 4 09:24:21 UTC 2020 - Samuel Cabrero <scabrero@suse.de>

View File

@ -209,6 +209,9 @@ rm -f %{buildroot}/%{_libdir}/krb5/plugins/preauth/otp.so
rm -f %{buildroot}/%{_libdir}/krb5/plugins/preauth/spake.so
rm -f %{buildroot}/%{_libdir}/krb5/plugins/preauth/test.so
# Don't add the lto flags to the public link flags.
sed -i "s/%{_lto_cflags}//" %{buildroot}%{_prefix}/lib/mit/bin/krb5-config
%find_lang mit-krb5
#####################################################

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 26 15:36:25 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
- Don't add the lto flags to the public link options. (boo#1172038)
-------------------------------------------------------------------
Mon May 4 09:24:21 UTC 2020 - Samuel Cabrero <scabrero@suse.de>

View File

@ -287,6 +287,9 @@ rm -rf %{buildroot}%{_prefix}/lib/mit/share/examples
# manually remove test plugin since configure doesn't support disabling it at build time
rm -f %{buildroot}/%{_libdir}/krb5/plugins/preauth/test.so
# Don't add the lto flags to the public link flags.
sed -i "s/%{_lto_cflags}//" %{buildroot}%{_prefix}/lib/mit/bin/krb5-config
%find_lang mit-krb5
%post -p /sbin/ldconfig