Accepting request 712985 from home:marxin:branches:devel:libraries:c_c++

- Use FAT LTO objects in order to provide proper static library.

OBS-URL: https://build.opensuse.org/request/show/712985
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=58
This commit is contained in:
Tomáš Chvátal 2019-07-02 07:28:17 +00:00 committed by Git OBS Bridge
parent 27ac9b3b86
commit 7a53ad4872
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 2 07:22:36 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 7 11:24:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Fri Jun 7 11:24:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -126,6 +126,7 @@ developing applications which use minizip.
%patch4 -p1 %patch4 -p1
%build %build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
export LDFLAGS="-Wl,-z,relro,-z,now" export LDFLAGS="-Wl,-z,relro,-z,now"
%ifarch s390x %ifarch s390x
export CFLAGS="%{optflags} -DDFLTCC" export CFLAGS="%{optflags} -DDFLTCC"