From 546568910fddc392ad2edabe2bb2aa4af485406e Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 4 Jul 2024 14:15:56 +0300 Subject: [PATCH] Add -fno-omit-frame-pointer to macros.arch_fp --- SPECS/almalinux-release.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/SPECS/almalinux-release.spec b/SPECS/almalinux-release.spec index 504f11f..ba4b084 100644 --- a/SPECS/almalinux-release.spec +++ b/SPECS/almalinux-release.spec @@ -323,6 +323,7 @@ echo '%%__cflags_arch_x86_64_level -v2' >> %{buildroot}%{_sysconfdir}/rpm/macros mkdir -p %{buildroot}%{_sysconfdir}/rpm echo '%%_build_name_fmt %%{ARCH}_fp/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}_fp.rpm' > %{buildroot}%{_sysconfdir}/rpm/macros.arch_fp echo '%%x86_64_fp 1' >> %{buildroot}%{_sysconfdir}/rpm/macros.arch_fp +echo '%%optflags %%{optflags} -fno-omit-frame-pointer' >> %{buildroot}%{_sysconfdir}/rpm/macros.arch_fp %endif