Accepting request 1007273 from devel:tools

OBS-URL: https://build.opensuse.org/request/show/1007273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/criu?expand=0&rev=58
This commit is contained in:
Richard Brown 2022-09-30 15:58:55 +00:00 committed by Git OBS Bridge
commit 00d661b110
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 30 14:17:33 UTC 2022 - Takashi Iwai <tiwai@suse.com>
- Disable LTO, as it results in segfaults (bsc#1203854)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 14 07:20:38 UTC 2022 - Takashi Iwai <tiwai@suse.com> Wed Sep 14 07:20:38 UTC 2022 - Takashi Iwai <tiwai@suse.com>

View File

@ -21,9 +21,8 @@
%define make_options USE_ASCIIDOCTOR=1 %define make_options USE_ASCIIDOCTOR=1
%endif %endif
%ifarch %arm aarch64 # currently broken with LTO, resulting in segfaults (bsc#1203854)
%define _lto_cflags %{nil} %define _lto_cflags %{nil}
%endif
%ifarch x86_64 aarch64 %ifarch x86_64 aarch64
%define with_amdgpu_plugin 1 %define with_amdgpu_plugin 1
@ -134,7 +133,6 @@ to develop applications with CRIU library.
echo "BINFMT_MISC_VIRTUALIZED" > .config echo "BINFMT_MISC_VIRTUALIZED" > .config
%build %build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
%ifarch %arm %ifarch %arm
export CFLAGS="$CFLAGS -Wno-error=deprecated" export CFLAGS="$CFLAGS -Wno-error=deprecated"