From eed143dfa6af0e004d0239bd3297b30e45b8c4d3 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Sat, 29 Jul 2017 13:24:39 -0700 Subject: 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 Closes #635 --- rpm/redhat/spl-kmod.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rpm/redhat/spl-kmod.spec.in') diff --git a/rpm/redhat/spl-kmod.spec.in b/rpm/redhat/spl-kmod.spec.in index cab72a7c7..4e2a9f955 100644 --- a/rpm/redhat/spl-kmod.spec.in +++ b/rpm/redhat/spl-kmod.spec.in @@ -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 -- cgit v1.2.3