From 1e0565d10a5f75bd15104df3db3264554e8b2dd1 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Sat, 29 Jul 2017 13:25:53 -0700 Subject: 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 Closes #6424 --- rpm/generic/zfs-kmod.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpm/generic/zfs-kmod.spec.in') diff --git a/rpm/generic/zfs-kmod.spec.in b/rpm/generic/zfs-kmod.spec.in index 2f580e063..4518dc954 100644 --- a/rpm/generic/zfs-kmod.spec.in +++ b/rpm/generic/zfs-kmod.spec.in @@ -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 -- cgit v1.2.3