From 660962e17a378433cb164aa965c8e4cd9783f352 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Feb 09 2019 16:04:59 +0000 Subject: Turn LTO back on This makes the package smaller: -rw-rw-r--. 3840040 Feb 9 14:53 x86_64/systemd-241~rc2-1.fc30.x86_64.rpm -rw-rw-r--. 3794532 Feb 9 15:58 x86_64/systemd-241~rc2-2.fc30.x86_64.rpm Important binaries like systemd and libsystemd-shared.so are about 10% smaller. --- diff --git a/systemd.spec b/systemd.spec index 4188e0a..e66715b 100644 --- a/systemd.spec +++ b/systemd.spec @@ -15,7 +15,7 @@ Name: systemd Url: https://www.freedesktop.org/wiki/Software/systemd Version: 241~rc2 -Release: 1%{?commit:.git%{shortcommit}}%{?dist} +Release: 2%{?commit:.git%{shortcommit}}%{?dist} # For a breakdown of the licensing, see README License: LGPLv2+ and MIT and GPLv2+ Summary: System and Service Manager @@ -328,7 +328,7 @@ CONFIGURE_OPTS=( -Dnobody-group=nobody -Dsplit-usr=false -Dsplit-bin=true - -Db_lto=false + -Db_lto=true -Dversion-tag=v%{version}-%{release} ) @@ -699,6 +699,9 @@ fi %files tests -f .file-list-tests %changelog +* Sat Feb 9 2019 Zbigniew Jędrzejewski-Szmek - 241~rc2-2 +- Turn LTO back on + * Tue Feb 5 2019 Zbigniew Jędrzejewski-Szmek - 241~rc2-1 - Update to latest release -rc2