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:
Brian Behlendorf 2017-07-29 13:24:39 -07:00 committed by GitHub
parent 1f2671b9c9
commit eed143dfa6
2 changed files with 4 additions and 4 deletions

View File

@ -53,8 +53,8 @@ BuildRequires: %{_bindir}/kmodtool
%endif %endif
%endif %endif
# LDFLAGS are not sanitized by arch/powerpc/Makefile (unlike other arches) # LDFLAGS are not sanitized by arch/*/Makefile for these architectures.
%ifarch ppc ppc64 ppc64le %ifarch ppc ppc64 ppc64le aarch64
%global __global_ldflags %{nil} %global __global_ldflags %{nil}
%endif %endif

View File

@ -22,8 +22,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: @PACKAGE@ = %{version}\n\ Requires: @PACKAGE@ = %{version}\n\
Conflicts: @PACKAGE@-dkms\n\n" > %{_sourcedir}/kmod-preamble) Conflicts: @PACKAGE@-dkms\n\n" > %{_sourcedir}/kmod-preamble)
# LDFLAGS are not sanitized by arch/powerpc/Makefile (unlike other arches) # LDFLAGS are not sanitized by arch/*/Makefile for these architectures.
%ifarch ppc ppc64 ppc64le %ifarch ppc ppc64 ppc64le aarch64
%global __global_ldflags %{nil} %global __global_ldflags %{nil}
%endif %endif