diff --git a/vmtop.spec b/vmtop.spec index 2b1514f1b3e29da1a0135b192cd25237605e8e00..ca50284de57944f27eb64b039a1849d251c41114 100644 --- a/vmtop.spec +++ b/vmtop.spec @@ -1,6 +1,6 @@ Name: vmtop Version: 1.1 -Release: 8 +Release: 9 Summary: A tool for collecting and analyzing data of virtual machine License: MulanPSL-2.0 Group: Application/System @@ -60,6 +60,9 @@ This is a userspace tool which you can run it in host to help detecting VM's per %build +%if "%{?toolchain}" == "clang" +sed -i 's/-Wl,/-Wno-error=unused-command-line-argument -Wl,/' configure.ac +%endif aclocal autoconf autoheader @@ -80,6 +83,9 @@ install -m 550 vmtop ${RPM_BUILD_ROOT}/usr/bin/%{name} %{_bindir}/vmtop %changelog +* Fri Jan 24 2025 Suyun - 1.1-9 +- Fix build errors with Clang + * Sat Jul 27 2024 liangtian - 1.1-8 - domain: change method of getting domain id