diff options
author | Brian Behlendorf <[email protected]> | 2017-07-29 13:25:53 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2017-07-29 13:25:53 -0700 |
commit | 1e0565d10a5f75bd15104df3db3264554e8b2dd1 (patch) | |
tree | e043dfd0248bccf70cf06428db19506f6b09ff46 /rpm | |
parent | c1dd2f783a30d001f79648dab5ae5bbfe5614759 (diff) |
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 <[email protected]>
Closes #6424
Diffstat (limited to 'rpm')
-rw-r--r-- | rpm/generic/zfs-kmod.spec.in | 4 | ||||
-rw-r--r-- | rpm/redhat/zfs-kmod.spec.in | 4 |
2 files changed, 4 insertions, 4 deletions
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 diff --git a/rpm/redhat/zfs-kmod.spec.in b/rpm/redhat/zfs-kmod.spec.in index ae7e95d63..26d5b6054 100644 --- a/rpm/redhat/zfs-kmod.spec.in +++ b/rpm/redhat/zfs-kmod.spec.in @@ -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 |