Correct the list of static PIE architectures

x86_64 was missing before.
This commit is contained in:
Florian Weimer 2018-01-19 16:32:44 +01:00
parent 737f7e8513
commit cc5db6cdfd
1 changed files with 4 additions and 1 deletions

View File

@ -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 \