diff --git a/kernel.spec b/kernel.spec index 235e28bc5..cbfa59ea9 100644 --- a/kernel.spec +++ b/kernel.spec @@ -4,7 +4,9 @@ # here before the %%install macro is pre-built. # Disable frame pointers +%if 0%{?almalinux} < 10 %undefine _include_frame_pointers +%endif # Disable LTO in userspace packages. %global _lto_cflags %{nil}