From 8116423248a98b9164b6a6ab4ce2db268371faee Mon Sep 17 00:00:00 2001 From: zhanghailiang Date: Thu, 6 Feb 2020 10:00:57 +0800 Subject: [PATCH] spec: remove fno-inline option fno-inline option is need by hot-patch, but we didn't support hot-patch in this version, remove it. Signed-off-by: zhanghailiang --- qemu.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qemu.spec b/qemu.spec index 47d2f81..f7bcb64 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1,6 +1,6 @@ Name: qemu Version: 4.0.0 -Release: 5 +Release: 6 Epoch: 2 Summary: QEMU is a generic and open source machine emulator and virtualizer License: GPLv2 and BSD and MIT and CC-BY @@ -201,7 +201,7 @@ buildldflags="VL_LDFLAGS=-Wl,--build-id" ./configure \ --prefix=%{_prefix} \ --target-list=${buildarch} \ - --extra-cflags="%{optflags} -fPIE -DPIE -fno-inline -fPIC" \ + --extra-cflags="%{optflags} -fPIE -DPIE -fPIC" \ --extra-ldflags="-Wl,--build-id -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack" \ --datadir=%{_datadir} \ --docdir=%{_docdir}/%{name} \ @@ -419,6 +419,9 @@ getent passwd qemu >/dev/null || \ %endif %changelog +* Thu Feb 6 2020 Huawei Technologies Co., Ltd. +- spec: remove fno-inline option for configure + * Thu Jan 16 2020 Huawei Technologies Co., Ltd. - block: fix memleaks in bdrv_refresh_filename -- Gitee