Remove enabling frame pointers
This commit is contained in:
parent
71e8f0afc7
commit
79db6ac382
@ -11,7 +11,7 @@
|
||||
|
||||
Name: almalinux-release
|
||||
Version: %{major}.%{minor}
|
||||
Release: 0.14%{?dist}.1
|
||||
Release: 0.14%{?dist}
|
||||
Summary: %{distro} release files
|
||||
License: GPLv2
|
||||
URL: https://almalinux.org
|
||||
@ -305,11 +305,6 @@ install -p -m 0644 %{SOURCE600} %{buildroot}%{_sysconfdir}/pki/rpm-gpg/
|
||||
|
||||
# These variables should be set in the build environment to change rpm names
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
||||
echo '%%_include_frame_pointers 1' > %{buildroot}%{_sysconfdir}/rpm/macros.include_frame_pointers
|
||||
echo '%%_frame_pointers_cflags %%{expr:0%%{?_include_frame_pointers} ? "-fno-omit-frame-pointer" : ""}' >> %{buildroot}%{_sysconfdir}/rpm/macros.include_frame_pointers
|
||||
echo '%%_frame_pointers_cflags_x86_64 %%{expr:0%%{?_include_frame_pointers} ? "-mno-omit-leaf-frame-pointer" : ""}' >> %{buildroot}%{_sysconfdir}/rpm/macros.include_frame_pointers
|
||||
echo '%%_frame_pointers_cflags_aarch64 %%{expr:0%%{?_include_frame_pointers} ? "-mno-omit-leaf-frame-pointer" : ""}' >> %{buildroot}%{_sysconfdir}/rpm/macros.include_frame_pointers
|
||||
echo '%%_frame_pointers_cflags_s390x %%{expr:0%%{?_include_frame_pointers} ? "-mbackchain" : ""}' >> %{buildroot}%{_sysconfdir}/rpm/macros.include_frame_pointers
|
||||
%ifarch x86_64_v2
|
||||
echo '%%_target_platform x86_64-%%{_vendor}-%%{_target_os}%%{?_gnu}' >> %{buildroot}%{_sysconfdir}/rpm/macros.x86_64_v2
|
||||
%endif
|
||||
@ -334,7 +329,6 @@ echo '%%_target_platform x86_64-%%{_vendor}-%%{_target_os}%%{?_gnu}' >> %{buildr
|
||||
%{_prefix}/lib/systemd/system-preset/*
|
||||
%{_prefix}/lib/systemd/user-preset/*
|
||||
%{_prefix}/lib/sysctl.d/50-redhat.conf
|
||||
%config(noreplace) %{_sysconfdir}/rpm/macros.include_frame_pointers
|
||||
%ifarch x86_64_v2
|
||||
%config(noreplace) %{_sysconfdir}/rpm/macros.x86_64_v2
|
||||
%endif
|
||||
@ -371,8 +365,5 @@ echo '%%_target_platform x86_64-%%{_vendor}-%%{_target_os}%%{?_gnu}' >> %{buildr
|
||||
%{_sysconfdir}/pki/rpm-gpg
|
||||
|
||||
%changelog
|
||||
* Mon Jul 15 2024 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-0.14.1
|
||||
- Add _frame_pointers_cflags redefine, to enable frame pointers
|
||||
|
||||
* Tue Jul 02 2024 Eduard Abdullin <eabdullin@almalinux.org> - 10.0-0.14
|
||||
- AlmaLinux 10 beta release
|
||||
|
Loading…
Reference in New Issue
Block a user