Do not use --enable-static-pie configure flag
Since upstream commit 23645707f12f, --enable-static-pie is ignored by the build system and static PIE is enabled by default on architectures that support it.
This commit is contained in:
parent
2d913ac06a
commit
201f88a749
11
glibc.spec
11
glibc.spec
@ -69,9 +69,6 @@
|
||||
%undefine with_valgrind
|
||||
%endif
|
||||
|
||||
# Only some architectures have static PIE support.
|
||||
%define pie_arches %{ix86} x86_64
|
||||
|
||||
# The annobin annotations cause binutils to produce broken ARM EABI
|
||||
# unwinding information. Symptom is a hang/test failure for
|
||||
# malloc/tst-malloc-stats-cancellation. See
|
||||
@ -151,7 +148,7 @@ end \
|
||||
Summary: The GNU libc libraries
|
||||
Name: glibc
|
||||
Version: %{glibcversion}
|
||||
Release: 31%{?dist}
|
||||
Release: 32%{?dist}
|
||||
|
||||
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
|
||||
# libraries.
|
||||
@ -1151,9 +1148,6 @@ build()
|
||||
--enable-bind-now \
|
||||
--build=%{target} \
|
||||
--enable-stack-protector=strong \
|
||||
%ifarch %{pie_arches}
|
||||
--enable-static-pie \
|
||||
%endif
|
||||
--enable-tunables \
|
||||
--enable-systemtap \
|
||||
${core_with_options} \
|
||||
@ -2159,6 +2153,9 @@ update_gconv_modules_cache ()
|
||||
%files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared
|
||||
|
||||
%changelog
|
||||
* Wed Dec 15 2021 Arjun Shankar <arjun@redhat.com> - 2.34.9000-32
|
||||
- Do not use --enable-static-pie configure flag since it is now ignored
|
||||
|
||||
* Wed Dec 15 2021 Florian Weimer <fweimer@redhat.com> - 2.34.9000-31
|
||||
- Drop glibc-fedora-revert-PT_LOAD-segment-align.patch; fix applied upstream
|
||||
- Auto-sync with upstream branch master,
|
||||
|
Loading…
Reference in New Issue
Block a user