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 \