[packages/glibc] add static_pie bcond (enabled by default except for %{arm})
atler
atler at pld-linux.org
Mon Nov 16 22:00:17 CET 2020
commit a42ccda47ff2de049af4b77396faf2849c154007
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Nov 16 21:58:57 2020 +0100
add static_pie bcond (enabled by default except for %{arm})
glibc.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/glibc.spec b/glibc.spec
index 47787ed..8213704 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -18,6 +18,7 @@
%bcond_with bash_nls # use bash NLS in shell scripts (ldd, sotruss); restores /bin/bash dep
%bcond_without cet # Intel Control-flow Enforcement Technology (CET)
%bcond_without crypt # don't build obsolete libcrypt
+%bcond_without static_pie # disable static PIE support
#
%ifarch %{ix86} %{x8664}
%{!?min_kernel:%global min_kernel 3.2.0}
@@ -31,8 +32,8 @@
%ifnarch i686 %{x8664} x32
%undefine with_cet
%endif
-%ifnarch %{arm}
-%define with_static_pie 1
+%ifarch %{arm}
+%undefine with_static_pie
%endif
%define core_version 2.32
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/a42ccda47ff2de049af4b77396faf2849c154007
More information about the pld-cvs-commit
mailing list