3
0
forked from pool/libselinux

Accepting request 1074195 from home:jsegitz:branches:security:SELinux

- Add -ffat-lto-objects to CFLAGS to prevent rpmlint errors because
  of LTO

OBS-URL: https://build.opensuse.org/request/show/1074195
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libselinux?expand=0&rev=150
This commit is contained in:
Johannes Segitz 2023-03-24 14:08:42 +00:00 committed by Git OBS Bridge
parent 90defc5b22
commit 3db7e99550
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 24 13:51:52 UTC 2023 - Johannes Segitz <jsegitz@suse.com>
- Add -ffat-lto-objects to CFLAGS to prevent rpmlint errors because
of LTO
-------------------------------------------------------------------
Thu Mar 23 15:39:15 UTC 2023 - Martin Liška <mliska@suse.cz>

View File

@ -103,7 +103,7 @@ necessary to develop your own software using libselinux.
%patch5 -p1
%build
make %{?_smp_mflags} LIBDIR="%{_libdir}" CC="gcc" CFLAGS="%{optflags} -fno-semantic-interposition" USE_PCRE2=y
make %{?_smp_mflags} LIBDIR="%{_libdir}" CC="gcc" CFLAGS="%{optflags} -fno-semantic-interposition -ffat-lto-objects" USE_PCRE2=y
%install
mkdir -p %{buildroot}/%{_lib}