]> git.proxmox.com Git - mirror_spl.git/commitdiff
Fix aarch64 build
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 29 Jul 2017 20:24:39 +0000 (13:24 -0700)
committerGitHub <noreply@github.com>
Sat, 29 Jul 2017 20:24:39 +0000 (13:24 -0700)
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

rpm/generic/spl-kmod.spec.in
rpm/redhat/spl-kmod.spec.in

index a5a0d9d6406bfcbd4181b5a2124fc7c8e466b681..c33c25069a68598a7284b70db8d0487d14a6d76a 100644 (file)
@@ -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
 
index cab72a7c78dad31ce5e167cba4bd529607cf3aad..4e2a9f955de5f3eabac783af323296ef014c0acf 100644 (file)
@@ -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