mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 02:49:32 +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
|
||||
|
||||
# LDFLAGS are not sanitized by arch/powerpc/Makefile (unlike other arches)
|
||||
%ifarch ppc ppc64 ppc64le
|
||||
# LDFLAGS are not sanitized by arch/*/Makefile for these architectures.
|
||||
%ifarch ppc ppc64 ppc64le aarch64
|
||||
%global __global_ldflags %{nil}
|
||||
%endif
|
||||
|
||||
|
@ -22,8 +22,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: @PACKAGE@ = %{version}\n\
|
||||
Conflicts: @PACKAGE@-dkms\n\n" > %{_sourcedir}/kmod-preamble)
|
||||
|
||||
# LDFLAGS are not sanitized by arch/powerpc/Makefile (unlike other arches)
|
||||
%ifarch ppc ppc64 ppc64le
|
||||
# LDFLAGS are not sanitized by arch/*/Makefile for these architectures.
|
||||
%ifarch ppc ppc64 ppc64le aarch64
|
||||
%global __global_ldflags %{nil}
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user