From 76f5a6534b4e71033d1bd3e3c1fbd49b40cbdc77 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 9 Jan 2023 20:41:19 +0000 Subject: [PATCH] Omit frame pointers when building --- lld.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lld.spec b/lld.spec index 565fee8..be474bd 100644 --- a/lld.spec +++ b/lld.spec @@ -1,4 +1,9 @@ %global toolchain clang + +# Opt out of https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer +# https://bugzilla.redhat.com/show_bug.cgi?id=2158587 +%undefine _include_frame_pointers + %bcond_without check %bcond_with compat_build @@ -22,7 +27,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: The LLVM Linker License: NCSA @@ -177,6 +182,9 @@ fi %{install_libdir}/liblld*.so.* %changelog +* Mon Jan 09 2023 Tom Stellard - 15.0.6-2 +- Omit frame pointers when building + * Tue Dec 06 2022 Nikita Popov - 15.0.6-1 - Update to LLVM 15.0.6