mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 18:11:00 +03:00
Fix aarch64 build
Add aarch64 to the list of architecture which do not sanitize the
LDFLAGS from the environment. See e0aacd9b
for details.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #635
This commit is contained in:
parent
1f2671b9c9
commit
eed143dfa6
@ -53,8 +53,8 @@ BuildRequires: %{_bindir}/kmodtool
|
|||||||
%endif
|
%endif
|
||||||
%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
|
||||||
|
|
||||||
|
@ -22,8 +22,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -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
Block a user