Accepting request 1074716 from Base:System

- Enable LTO now (boo#1138833) and use FAT LTO objects for static libs. (forwarded request 1074612 from marxin)

OBS-URL: https://build.opensuse.org/request/show/1074716
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libxcrypt?expand=0&rev=18
This commit is contained in:
Dominique Leuenberger 2023-04-01 17:30:04 +00:00 committed by Git OBS Bridge
commit 34d0091837
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 23 12:58:47 UTC 2023 - Martin Liška <mliska@suse.cz>
- Enable LTO now (boo#1138833) and use FAT LTO objects for static libs.
-------------------------------------------------------------------
Fri Mar 10 20:29:48 UTC 2023 - Giuliano Belinassi <giuliano.belinassi@suse.com>

View File

@ -98,10 +98,7 @@ is highly discouraged.
%autosetup -p 1
%build
# Disable LTO due to symbol versioning (boo#1138833):
# (https://en.opensuse.org/openSUSE:LTO#Symbol_versioning).
%define _lto_cflags %{nil}
%global _lto_cflags %_lto_cflags -ffat-lto-objects
%configure \
--disable-silent-rules \
--enable-shared \