From aedda8048060fa6de7fecc8564f2584adc78e379e5f40a287ea27ae319ca566f Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Thu, 5 Sep 2019 07:07:07 +0000 Subject: [PATCH] Accepting request 728343 from home:1Antoine1:branches:devel:tools Fix build on Tumbleweed: Add -ffat-lto-objects to lto cflags. OBS-URL: https://build.opensuse.org/request/show/728343 OBS-URL: https://build.opensuse.org/package/show/devel:tools/criu?expand=0&rev=91 --- criu.changes | 5 +++++ criu.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/criu.changes b/criu.changes index 16b68f0..771581a 100644 --- a/criu.changes +++ b/criu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 4 19:27:24 UTC 2019 - antoine.belvire@opensuse.org + +- Fix build on Tumbleweed: Add -ffat-lto-objects to lto cflags. + ------------------------------------------------------------------- Mon May 6 20:13:44 CEST 2019 - tiwai@suse.de diff --git a/criu.spec b/criu.spec index 0b63b3f..4061287 100644 --- a/criu.spec +++ b/criu.spec @@ -93,6 +93,7 @@ to develop applications with CRIU library. echo "BINFMT_MISC_VIRTUALIZED" > .config %build +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects export CFLAGS="%{optflags}" make V=1 %{?_smp_mflags} %{?make_options}