From 6f28939af4ddb9e15f1326a665f063e8360e3678 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 5 Sep 2024 16:46:45 +0300 Subject: [PATCH] Enable frame-pointers for AlmaLinux 10 --- kernel.spec | 2 ++ 1 file changed, 2 insertions(+) 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}