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