Fix aarch64 build
Add aarch64 to the list of architecture which do not sanitize the
LDFLAGS from the environment. See fb963d33
for details.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6424
This commit is contained in:
parent
affb7141d7
commit
0c8fedeb35
|
@ -86,8 +86,8 @@ BuildRequires: kmod-spl-devel = %{version}
|
||||||
%global KmodsMetaRequires spl-kmod
|
%global KmodsMetaRequires spl-kmod
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# LDFLAGS are not sanitized by arch/powerpc/Makefile (unlike other arches)
|
# LDFLAGS are not sanitized by arch/*/Makefile for these architectures.
|
||||||
%ifarch ppc ppc64 ppc64le
|
%ifarch ppc ppc64 ppc64le aarch64
|
||||||
%global __global_ldflags %{nil}
|
%global __global_ldflags %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
|
@ -21,8 +21,8 @@ Requires: spl-kmod\n\
|
||||||
Requires: @PACKAGE@ = %{version}\n\
|
Requires: @PACKAGE@ = %{version}\n\
|
||||||
Conflicts: @PACKAGE@-dkms\n\n" > %{_sourcedir}/kmod-preamble)
|
Conflicts: @PACKAGE@-dkms\n\n" > %{_sourcedir}/kmod-preamble)
|
||||||
|
|
||||||
# LDFLAGS are not sanitized by arch/powerpc/Makefile (unlike other arches)
|
# LDFLAGS are not sanitized by arch/*/Makefile for these architectures.
|
||||||
%ifarch ppc ppc64 ppc64le
|
%ifarch ppc ppc64 ppc64le aarch64
|
||||||
%global __global_ldflags %{nil}
|
%global __global_ldflags %{nil}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue