From 8095c985a2924b33c3cabcb090c47b25496231d4a196a3f0ac77c0cacf8f4a92 Mon Sep 17 00:00:00 2001 From: Johannes Segitz Date: Fri, 24 Mar 2023 13:25:14 +0000 Subject: [PATCH] Accepting request 1073971 from home:marxin:branches:security:SELinux - Enable LTO now (boo#1138812). - Enable LTO now (boo#1138812). OBS-URL: https://build.opensuse.org/request/show/1073971 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsemanage?expand=0&rev=100 --- libsemanage.changes | 5 +++++ libsemanage.spec | 1 - python-semanage.changes | 5 +++++ python-semanage.spec | 1 - 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/libsemanage.changes b/libsemanage.changes index 2c29e03..5ab5c01 100644 --- a/libsemanage.changes +++ b/libsemanage.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 23 13:06:51 UTC 2023 - Martin Liška + +- Enable LTO now (boo#1138812). + ------------------------------------------------------------------- Fri Feb 24 07:48:05 UTC 2023 - Johannes Segitz diff --git a/libsemanage.spec b/libsemanage.spec index 166d49a..93b7061 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -111,7 +111,6 @@ stores must be migrated before any commands that modify or use the store grep /usr/libexec . -rl | xargs sed -i "s|/usr/libexec|%{_libexecdir}|g" %build -%define _lto_cflags %{nil} %make_build clean %make_build CFLAGS="%{optflags} -fno-semantic-interposition" CC="gcc" %make_build CFLAGS="%{optflags} -fno-semantic-interposition" LIBDIR="%{_libdir}" LIBEXECDIR="%{_libexecdir}" SHLIBDIR="%{_lib}" CC="gcc" all diff --git a/python-semanage.changes b/python-semanage.changes index 6f5f308..bfae58c 100644 --- a/python-semanage.changes +++ b/python-semanage.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 23 13:06:51 UTC 2023 - Martin Liška + +- Enable LTO now (boo#1138812). + ------------------------------------------------------------------- Fri Feb 24 07:48:05 UTC 2023 - Johannes Segitz diff --git a/python-semanage.spec b/python-semanage.spec index 7948def..193c3aa 100644 --- a/python-semanage.spec +++ b/python-semanage.spec @@ -60,7 +60,6 @@ SELinux policy management applications. grep /usr/libexec . -rl | xargs sed -i "s|/usr/libexec|%{_libexecdir}|g" %build -%define _lto_cflags %{nil} %make_build clean %{python_expand # loop over possible pythons %make_build PYTHON=$python CFLAGS="%{optflags} -fno-semantic-interposition" swigify