From 962c260ba0d372a04f4ae1f713293135714a87d3903e20d5e57979ab5e1346a8 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 12 Jun 2019 09:33:33 +0000 Subject: [PATCH] Accepting request 705829 from home:marxin:branches:security:SELinux - Disable LTO (boo#1133244). OBS-URL: https://build.opensuse.org/request/show/705829 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=114 --- libselinux-bindings.changes | 5 +++++ libselinux-bindings.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/libselinux-bindings.changes b/libselinux-bindings.changes index 5f46cd0..d98be7d 100644 --- a/libselinux-bindings.changes +++ b/libselinux-bindings.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 28 08:28:03 UTC 2019 - Martin Liška + +- Disable LTO (boo#1133244). + ------------------------------------------------------------------- Fri May 24 11:22:19 UTC 2019 - diff --git a/libselinux-bindings.spec b/libselinux-bindings.spec index 6cab6e0..61ee87d 100644 --- a/libselinux-bindings.spec +++ b/libselinux-bindings.spec @@ -78,6 +78,7 @@ language. %patch4 -p1 %build +%define _lto_cflags %{nil} make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="%{optflags}" -C src V=1 make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="%{optflags}" -C src swigify V=1 make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="%{optflags}" -C src pywrap V=1