[packages/kernel-tools] pass ARCH=x86 to tools/hv on %{ix86}; rel 2
atler
atler at pld-linux.org
Sat Jun 20 20:50:57 CEST 2026
commit 7552600cdcba73ebc40daa516b018a568d5f04e9
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Jun 20 20:45:14 2026 +0200
pass ARCH=x86 to tools/hv on %{ix86}; rel 2
specific ARCH needs to be passed to satisfy filtering criteria. see:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ca5ee0e918115fb5cf626d75461d9fca06e06caf
kernel-tools.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/kernel-tools.spec b/kernel-tools.spec
index 15af74f..dec6317 100644
--- a/kernel-tools.spec
+++ b/kernel-tools.spec
@@ -25,7 +25,7 @@ Summary: Assortment of tools for the Linux kernel
Summary(pl.UTF-8): Zestaw narzędzi dla jądra Linuksa
Name: kernel-tools
Version: %{basever}%{postver}
-Release: 1
+Release: 2
License: GPL v2
Group: Applications/System
Source0: https://www.kernel.org/pub/linux/kernel/v7.x/linux-%{basever}.tar.xz
@@ -464,6 +464,9 @@ CFLAGS="%{rpmcflags}" \
%ifarch %{ix86} %{x8664} x32
%{__make} -C tools/hv \
%{makeopts} \
+%ifarch %{ix86}
+ ARCH=x86 \
+%endif
OPTFLAGS="%{rpmcflags}"
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kernel-tools.git/commitdiff/7552600cdcba73ebc40daa516b018a568d5f04e9
More information about the pld-cvs-commit
mailing list