From 6c4046979ad458d6288fe5b48980b32c80c008d54da80b601f760994d5b0912e Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 27 Mar 2023 14:04:37 +0000 Subject: [PATCH] Accepting request 1074612 from home:marxin:branches:Base:System - Enable LTO now (boo#1138833) and use FAT LTO objects for static libs. OBS-URL: https://build.opensuse.org/request/show/1074612 OBS-URL: https://build.opensuse.org/package/show/Base:System/libxcrypt?expand=0&rev=43 --- libxcrypt.changes | 5 +++++ libxcrypt.spec | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libxcrypt.changes b/libxcrypt.changes index d1f3076..c31135f 100644 --- a/libxcrypt.changes +++ b/libxcrypt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 23 12:58:47 UTC 2023 - Martin Liška + +- Enable LTO now (boo#1138833) and use FAT LTO objects for static libs. + ------------------------------------------------------------------- Fri Mar 10 20:29:48 UTC 2023 - Giuliano Belinassi diff --git a/libxcrypt.spec b/libxcrypt.spec index fcd93a8..bf7acfc 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -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 \