diff --git a/libsemanage.changes b/libsemanage.changes index 9adfc6f..0c23045 100644 --- a/libsemanage.changes +++ b/libsemanage.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 20 10:22:04 UTC 2019 - Martin Liška + +- Disable LTO due to symbol versioning (boo#1138812). + ------------------------------------------------------------------- Wed Mar 20 15:10:21 UTC 2019 - jsegitz@suse.com diff --git a/libsemanage.spec b/libsemanage.spec index 950fdbf..d34243f 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -94,6 +94,7 @@ stores must be migrated before any commands that modify or use the store %patch0 %build +%define _lto_cflags %{nil} make %{?_smp_mflags} clean make -j1 CFLAGS="%{optflags}" CC="gcc" make -j1 CFLAGS="%{optflags}" LIBDIR="%{_libdir}" LIBEXECDIR="%{_libexecdir}" SHLIBDIR="%{_lib}" CC="gcc" all