From: Jan Palus Date: Mon, 16 Nov 2020 20:58:57 +0000 (+0100) Subject: add static_pie bcond (enabled by default except for %{arm}) X-Git-Tag: auto/th/glibc-2.32-7~3 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=a42ccda47ff2de049af4b77396faf2849c154007;p=packages%2Fglibc.git add static_pie bcond (enabled by default except for %{arm}) --- 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