diff --git a/SPECS/kernel-lt-5.4.spec b/SPECS/kernel-lt-5.4.spec index 0ce9b31..a6d56e0 100644 --- a/SPECS/kernel-lt-5.4.spec +++ b/SPECS/kernel-lt-5.4.spec @@ -34,11 +34,17 @@ # vsdo install %define with_vdso_install %{?_without_vdso_install: 0} %{?!_without_vdso_install: 1} +# Compress modules on all architectures that build modules. +%ifarch x86_64 +%global zipmodules 1 +%else +%global zipmodules 0 +%endif + # Kernel-lt, devel, headers, perf, tools and bpftool. %ifarch x86_64 %define with_doc 0 %define doc_build_fail true -%define zipmodules 1 %endif # Documentation. @@ -49,7 +55,6 @@ %define with_tools 0 %define with_bpftool 0 %define with_vdso_install 0 -%define zipmodules 0 %endif # Compressed modules.