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:
parent
90defc5b22
commit
3db7e99550
@ -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>
|
Thu Mar 23 15:39:15 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ necessary to develop your own software using libselinux.
|
|||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
|
|
||||||
%build
|
%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
|
%install
|
||||||
mkdir -p %{buildroot}/%{_lib}
|
mkdir -p %{buildroot}/%{_lib}
|
||||||
|
Loading…
Reference in New Issue
Block a user