Skip to content

Commit

Permalink
Fix aarch64 build
Browse files Browse the repository at this point in the history
Add aarch64 to the list of architecture which do not sanitize the
LDFLAGS from the environment.  See e0aacd9 for details.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes openzfs#635
  • Loading branch information
behlendorf committed Jul 29, 2017
1 parent 1f2671b commit eed143d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rpm/generic/spl-kmod.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions rpm/redhat/spl-kmod.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit eed143d

Please sign in to comment.