[packages/glibc] disable static pie on %{arm}
atler
atler at pld-linux.org
Mon Nov 16 14:06:46 CET 2020
commit 1a8a80a24f8175825edaccce23bf99bff913b5aa
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Nov 16 14:05:14 2020 +0100
disable static pie on %{arm}
produces segfaulting binaries
glibc.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/glibc.spec b/glibc.spec
index a8f860c..47787ed 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -31,6 +31,9 @@
%ifnarch i686 %{x8664} x32
%undefine with_cet
%endif
+%ifnarch %{arm}
+%define with_static_pie 1
+%endif
%define core_version 2.32
%define llh_version 7:2.6.32.1-1
@@ -984,7 +987,7 @@ AWK="gawk" \
--enable-profile \
--enable-stack-protector=strong \
--enable-stackguard-randomization \
- --enable-static-pie \
+ %{?with_static_pie:--enable-static-pie} \
--enable-tunables \
--with-binutils=$(pwd)/alt-tools \
--with-bugurl=http://bugs.pld-linux.org/ \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/1a8a80a24f8175825edaccce23bf99bff913b5aa
More information about the pld-cvs-commit
mailing list