Omit frame pointers when building

This commit is contained in:
Tom Stellard 2023-01-12 22:27:12 +00:00 committed by Nikita Popov
parent c1d314a4ab
commit 742b5ab73f

View file

@ -1,5 +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
%global maj_ver 15
%global libomp_version %{maj_ver}.0.7
#global rc_ver 3
@ -14,7 +18,7 @@
Name: libomp
Version: %{libomp_version}%{?rc_ver:~rc%{rc_ver}}
Release: 3%{?dist}
Release: 4%{?dist}
Summary: OpenMP runtime for clang
License: NCSA
@ -163,6 +167,9 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
%{_libexecdir}/tests/libomp/
%changelog
* Fri Jan 20 2023 Tom Stellard <tstellar@redhat.com> - 15.0.7-4
- Omit frame pointers when building
* Fri Jan 20 2023 Nikita Popov <npopov@redhat.com> - 15.0.7-3
- Fix build against GCC 13