Correct the list of static PIE architectures
x86_64 was missing before.
This commit is contained in:
parent
737f7e8513
commit
cc5db6cdfd
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user