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
|
%define buildpower8 0
|
||||||
%endif
|
%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
|
# Any architecture/kernel combination that supports running 32-bit and 64-bit
|
||||||
# code in userspace is considered a biarch arch.
|
# code in userspace is considered a biarch arch.
|
||||||
|
@ -930,7 +933,7 @@ build()
|
||||||
--enable-bind-now \
|
--enable-bind-now \
|
||||||
--build=%{target} \
|
--build=%{target} \
|
||||||
--enable-stack-protector=strong \
|
--enable-stack-protector=strong \
|
||||||
%ifarch %{ix86} aarch64
|
%ifarch %{pie_arches}
|
||||||
--enable-static-pie \
|
--enable-static-pie \
|
||||||
%endif
|
%endif
|
||||||
--enable-tunables \
|
--enable-tunables \
|
||||||
|
|
Loading…
Reference in New Issue