Accepting request 1073997 from home:marxin:branches:security:SELinux

- Enable LTO as it works fine now.

- Enable LTO as it works fine now.

OBS-URL: https://build.opensuse.org/request/show/1073997
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=149
This commit is contained in:
Johannes Segitz 2023-03-24 13:25:03 +00:00 committed by Git OBS Bridge
parent 5ccbf70831
commit 90defc5b22
4 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 23 15:39:15 UTC 2023 - Martin Liška <mliska@suse.cz>
- Enable LTO as it works fine now.
-------------------------------------------------------------------
Fri Feb 24 07:42:25 UTC 2023 - Johannes Segitz <jsegitz@suse.com>

View File

@ -85,7 +85,6 @@ language.
%autopatch -p1
%build
%define _lto_cflags %{nil}
make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fno-semantic-interposition" swigify V=1 USE_PCRE2=y
make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fno-semantic-interposition" pywrap V=1 USE_PCRE2=y
make %{?_smp_mflags} LIBDIR="%{_libdir}" CFLAGS="%{optflags} -fno-semantic-interposition" rubywrap V=1 USE_PCRE2=y

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 23 15:39:15 UTC 2023 - Martin Liška <mliska@suse.cz>
- Enable LTO as it works fine now.
-------------------------------------------------------------------
Fri Feb 24 07:42:25 UTC 2023 - Johannes Segitz <jsegitz@suse.com>

View File

@ -103,7 +103,6 @@ necessary to develop your own software using libselinux.
%patch5 -p1
%build
%define _lto_cflags %{nil}
make %{?_smp_mflags} LIBDIR="%{_libdir}" CC="gcc" CFLAGS="%{optflags} -fno-semantic-interposition" USE_PCRE2=y
%install