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

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

index 2f580e063c9437530fc7c328e06f69616a8751b3..4518dc954d20f7a30e65fd335c9792cf8bde68f5 100644 (file)
@@ -86,8 +86,8 @@ BuildRequires:             kmod-spl-devel = %{version}
 %global KmodsMetaRequires  spl-kmod
 %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 ae7e95d63e652a8ed39fdabb53f8f2870a9d6386..26d5b605405866b6d2077241d1154622c5a1f463 100644 (file)
@@ -21,8 +21,8 @@ Requires:       spl-kmod\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