Enable DT_RELR on aarch64 (RHEL-40379)
Resolves: RHEL-40379
This commit is contained in:
parent
b6aeb406fc
commit
3c5a6b1754
2
macros
2
macros
@ -382,7 +382,7 @@ for k,_ in pairs(stripped_flags) do print(k .. " ") end
|
|||||||
%_ld_as_needed_flags %{?_ld_as_needed:-Wl,--as-needed}
|
%_ld_as_needed_flags %{?_ld_as_needed:-Wl,--as-needed}
|
||||||
|
|
||||||
# aarch64 and s390x currently do not support packed relocations.
|
# 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" : ""]
|
%_ld_pack_relocs_flags %[0%{?_ld_pack_relocs} ? "-Wl,-z,pack-relative-relocs" : ""]
|
||||||
|
|
||||||
# LTO is the default in Fedora.
|
# LTO is the default in Fedora.
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 282
|
Version: 282
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
# config.guess, config.sub are GPL-3.0-or-later WITH Autoconf-exception-generic
|
# config.guess, config.sub are GPL-3.0-or-later WITH Autoconf-exception-generic
|
||||||
License: GPL-1.0-or-later AND GPL-2.0-or-later AND GPL-3.0-or-later WITH Autoconf-exception-generic AND Boehm-GC
|
License: GPL-1.0-or-later AND GPL-2.0-or-later AND GPL-3.0-or-later WITH Autoconf-exception-generic AND Boehm-GC
|
||||||
URL: https://src.fedoraproject.org/rpms/redhat-rpm-config
|
URL: https://src.fedoraproject.org/rpms/redhat-rpm-config
|
||||||
@ -258,6 +258,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora common.lua
|
|||||||
%doc buildflags.md
|
%doc buildflags.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 7 2024 Florian Weimer <fweimer@redhat.com> - 282-4
|
||||||
|
- Enable DT_RELR on aarch64 (RHEL-40379)
|
||||||
|
|
||||||
* Wed May 22 2024 Florian Weimer <fweimer@redhat.com> - 282-3
|
* Wed May 22 2024 Florian Weimer <fweimer@redhat.com> - 282-3
|
||||||
- Drop ghc-srpm-macros dependency
|
- Drop ghc-srpm-macros dependency
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user