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 fb963d3 for details.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6424
  • Loading branch information
behlendorf authored and tonyhutter committed Aug 2, 2017
1 parent affb714 commit 0c8fede
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rpm/generic/zfs-kmod.spec.in
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions rpm/redhat/zfs-kmod.spec.in
Expand Up @@ -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

Expand Down

0 comments on commit 0c8fede

Please sign in to comment.