diff --git a/kernel.spec b/kernel.spec index 633129a..0992d30 100644 --- a/kernel.spec +++ b/kernel.spec @@ -155,8 +155,14 @@ %endif # build perf and cpupower tools +%ifarch %{ix86} %{x86_64} %define build_perf 1 %define build_cpupower 1 +%else +%define build_perf 0 +%define build_cpupower 0 +%endif + # compress modules with xz %define build_modxz 1