SHA256
1
0
forked from pool/libguestfs

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
This commit is contained in:
Charles Arnold 2023-03-30 18:23:56 +00:00 committed by Git OBS Bridge
parent 9993a917e4
commit f7ba4a0966
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Mar 23 15:49:09 UTC 2023 - Martin Liška <mliska@suse.cz>
- Enable LTO as it works fine now (use FAT lto objects for static libs).
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 15 07:33:43 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com> Wed Mar 15 07:33:43 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com>

View File

@ -92,8 +92,7 @@ schemes, qcow, qcow2, vmdk.
sed -i 's|RPMVSF_MASK_NOSIGNATURES|_RPMVSF_NOSIGNATURES|' daemon/rpm-c.c sed -i 's|RPMVSF_MASK_NOSIGNATURES|_RPMVSF_NOSIGNATURES|' daemon/rpm-c.c
%build %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 # use 'env LIBGUESTFS_HV=/path/to/kvm libguestfs-test-tool' to verify
%define kvm_binary /bin/false %define kvm_binary /bin/false
%ifarch aarch64 %ifarch aarch64