SHA256
1
0
forked from pool/krb5

Accepting request 819446 from home:Andreas_Schwab:Factory

- Don't fail if %{_lto_cflags} is empty

OBS-URL: https://build.opensuse.org/request/show/819446
OBS-URL: https://build.opensuse.org/package/show/network/krb5?expand=0&rev=239
This commit is contained in:
Dirk Mueller 2020-08-05 12:32:17 +00:00 committed by Git OBS Bridge
parent 3bbe5c3fdb
commit 97a10d8037
4 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 7 17:38:11 UTC 2020 - Andreas Schwab <schwab@suse.de>
- Don't fail if %{_lto_cflags} is empty
-------------------------------------------------------------------
Fri Jun 12 08:38:23 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -198,8 +198,10 @@ 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
%if "%{_lto_cflags}" != ""
# Don't add the lto flags to the public link flags.
sed -i "s/%{_lto_cflags}//" %{buildroot}%{_bindir}/krb5-config
%endif
%find_lang mit-krb5

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 7 17:38:11 UTC 2020 - Andreas Schwab <schwab@suse.de>
- Don't fail if %{_lto_cflags} is empty
-------------------------------------------------------------------
Fri Jun 12 08:38:23 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -276,8 +276,10 @@ rm -rf %{buildroot}%{_datadir}/examples
# manually remove test plugin since configure doesn't support disabling it at build time
rm -f %{buildroot}/%{_libdir}/krb5/plugins/preauth/test.so
%if "%{_lto_cflags}" != ""
# Don't add the lto flags to the public link flags.
sed -i "s/%{_lto_cflags}//" %{buildroot}%{_bindir}/krb5-config
%endif
%find_lang mit-krb5