From cc5db6cdfde3f93137f88e598de1333865c8ad08 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Jan 19 2018 16:02:40 +0000 Subject: Correct the list of static PIE architectures x86_64 was missing before. --- diff --git a/glibc.spec b/glibc.spec index 2610242..9b34848 100644 --- a/glibc.spec +++ b/glibc.spec @@ -92,6 +92,9 @@ %define buildpower8 0 %endif +# Only some architectures have static PIE support. +%define pie_arches aarch64 %{ix86} x86_64 + ############################################################################## # Any architecture/kernel combination that supports running 32-bit and 64-bit # code in userspace is considered a biarch arch. @@ -930,7 +933,7 @@ build() --enable-bind-now \ --build=%{target} \ --enable-stack-protector=strong \ -%ifarch %{ix86} aarch64 +%ifarch %{pie_arches} --enable-static-pie \ %endif --enable-tunables \