From f7ba4a096656899920688e3c07b08c441b287416ccf8d72f6b80a0b3fa654a8f Mon Sep 17 00:00:00 2001 From: Charles Arnold Date: Thu, 30 Mar 2023 18:23:56 +0000 Subject: [PATCH] Accepting request 1074597 from home:marxin:branches:Virtualization - Enable LTO as it works fine now (use FAT lto objects for static libs). OBS-URL: https://build.opensuse.org/request/show/1074597 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=543 --- libguestfs.changes | 5 +++++ libguestfs.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libguestfs.changes b/libguestfs.changes index e2b1b72..edc51cc 100644 --- a/libguestfs.changes +++ b/libguestfs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 23 15:49:09 UTC 2023 - Martin Liška + +- Enable LTO as it works fine now (use FAT lto objects for static libs). + ------------------------------------------------------------------- Wed Mar 15 07:33:43 UTC 2023 - Vasily Ulyanov diff --git a/libguestfs.spec b/libguestfs.spec index 6ac1290..9722367 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -92,8 +92,7 @@ schemes, qcow, qcow2, vmdk. sed -i 's|RPMVSF_MASK_NOSIGNATURES|_RPMVSF_NOSIGNATURES|' daemon/rpm-c.c %build -%define _lto_cflags %{nil} - +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects # use 'env LIBGUESTFS_HV=/path/to/kvm libguestfs-test-tool' to verify %define kvm_binary /bin/false %ifarch aarch64