Enable DT_RELR for aarch64

This commit is contained in:
Florian Weimer 2024-06-07 18:29:06 +02:00
parent b8adb5cfa6
commit ed9ad0e79d
2 changed files with 5 additions and 2 deletions

2
macros
View File

@ -381,7 +381,7 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end
%_ld_as_needed_flags %{?_ld_as_needed:-Wl,--as-needed}
# aarch64 and s390x currently do not support packed relocations.
%_ld_pack_relocs %[ "%{_arch}" == "x86_64" || "%{_arch}" == "i386" || "%{_arch}" == "ppc64le" ]
%_ld_pack_relocs %[ "%{_arch}" == "x86_64" || "%{_arch}" == "i386" || "%{_arch}" == "ppc64le" || "%{_arch}" == "aarch64"]
%_ld_pack_relocs_flags %[0%{?_ld_pack_relocs} ? "-Wl,-z,pack-relative-relocs" : ""]
# LTO is the default in Fedora.

View File

@ -4,7 +4,7 @@
# 2) When making changes, increment the version (in baserelease) by 1.
# rpmdev-bumpspec and other tools update the macro below, which is used
# in Version: to get the desired effect.
%global baserelease 292
%global baserelease 293
Summary: Red Hat-family-specific rpm configuration files
Name: redhat-rpm-config
@ -254,6 +254,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua
%doc buildflags.md
%changelog
* Fri Jun 7 2024 Florian Weimer <fweimer@redhat.com> - 293-1
- Enable DT_RELR for aarch64
* Fri May 31 2024 Daan De Meyer <daan.j.demeyer@gmail.com> - 292-1
- Use --config=xxx for clang configs instead of two separate arguments to work
around a bug in meson