[packages/glibc] static pie enabled by default now but only on supported platforms
atler
atler at pld-linux.org
Thu Mar 17 00:12:33 CET 2022
commit c73c20aaa26cd90337b1bfda9a6b26a1ec332443
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Mar 16 23:23:54 2022 +0100
static pie enabled by default now but only on supported platforms
glibc.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/glibc.spec b/glibc.spec
index c48053c..0e080a4 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -32,6 +32,9 @@
%ifnarch i686 %{x8664} x32
%undefine with_cet
%endif
+%ifnarch %{arm}
+%define with_static_pie 1
+%endif
%define core_version 2.35
%define llh_version 7:2.6.32.1-1
@@ -1864,7 +1867,7 @@ fi
%{_libdir}/libutil.a
%{_libdir}/crt[1in].o
%{_libdir}/[MSgr]crt1.o
-%{_libdir}/grcrt1.o
+%{?with_static_pie:%{_libdir}/grcrt1.o}
# ld scripts
%{_libdir}/libc.so
# static-only libs
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/c73c20aaa26cd90337b1bfda9a6b26a1ec332443
More information about the pld-cvs-commit
mailing list