Accepting request 1074033 from devel:libraries:c_c++
- Make the package respect %optflags and disable LTO. (forwarded request 1073966 from marxin) OBS-URL: https://build.opensuse.org/request/show/1074033 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libaio?expand=0&rev=41
This commit is contained in:
commit
679391abb9
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 23 12:47:37 UTC 2023 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Make the package respect %optflags and disable LTO.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 23 18:51:25 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Fri Sep 23 18:51:25 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libaio
|
# spec file for package libaio
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -66,7 +66,8 @@ with, for the Linux-native asynchronous I/O facility ("async I/O", or
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%make_build OPTFLAGS="%{optflags}"
|
%define _lto_cflags %nil
|
||||||
|
CFLAGS="%{optflags}" %make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install libdir=%{_libdir}
|
%make_install libdir=%{_libdir}
|
||||||
@ -75,7 +76,7 @@ rm %{buildroot}%{_libdir}/*.a
|
|||||||
%check
|
%check
|
||||||
# qemu-linux-user does not emulate io_setup syscall, so none of the testsuite makes sense
|
# qemu-linux-user does not emulate io_setup syscall, so none of the testsuite makes sense
|
||||||
%if ! 0%{?qemu_user_space_build}
|
%if ! 0%{?qemu_user_space_build}
|
||||||
%make_build OPTFLAGS="%{optflags}" partcheck
|
CFLAGS="%{optflags}" %make_build partcheck
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user