Do not add = to linker scripts in sysroot (#2153855)

Resolves: #2153855
This commit is contained in:
Florian Weimer 2023-04-14 16:07:55 +02:00
parent ab766cb47a
commit 92ed05d911

View File

@ -155,7 +155,7 @@ end \
Summary: The GNU libc libraries Summary: The GNU libc libraries
Name: glibc Name: glibc
Version: %{glibcversion} Version: %{glibcversion}
Release: 64%{?dist} Release: 65%{?dist}
# In general, GPLv2+ is used by programs, LGPLv2+ is used for # In general, GPLv2+ is used by programs, LGPLv2+ is used for
# libraries. # libraries.
@ -2087,8 +2087,8 @@ done
find -type f | xargs chmod a-x find -type f | xargs chmod a-x
# Use sysroot-relative paths in linker script. Ignore symbolic links. # Use sysroot-relative paths in linker script. Ignore symbolic links.
sed -e 's,\([^0-9a-zA-Z=*]/lib\),=/usr/lib,g' \ sed -e 's,\([^0-9a-zA-Z=*]/lib\),/usr/lib,g' \
-e 's,\([^0-9a-zA-Z=*]\)/,\1=/,g' \ -e 's,\([^0-9a-zA-Z=*]\)/,\1/,g' \
-i $(find -type f -name 'lib[cm].so') -i $(find -type f -name 'lib[cm].so')
popd popd
@ -2865,6 +2865,9 @@ fi
%endif %endif
%changelog %changelog
* Fri Apr 14 2023 Florian Weimer <fweimer@redhat.com> - 2.34-65
- Do not add = to linker scripts in sysroot (#2153855)
* Thu Apr 06 2023 DJ Delorie <dj@redhat.com> - 2.34-64 * Thu Apr 06 2023 DJ Delorie <dj@redhat.com> - 2.34-64
- x86: Use CHECK_FEATURE_PRESENT on PCONFIG (#2149615) - x86: Use CHECK_FEATURE_PRESENT on PCONFIG (#2149615)