diff options
author | Brian Behlendorf <[email protected]> | 2017-07-29 13:24:39 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2017-07-29 13:24:39 -0700 |
commit | eed143dfa6af0e004d0239bd3297b30e45b8c4d3 (patch) | |
tree | 4bc9b5ce7faedc9f8d49bfe905f562bdd9d59de7 /rpm/redhat/spl-kmod.spec.in | |
parent | 1f2671b9c9108add67bae998e7a4e41352c2a12f (diff) |
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 <[email protected]>
Closes #635
Diffstat (limited to 'rpm/redhat/spl-kmod.spec.in')
-rw-r--r-- | rpm/redhat/spl-kmod.spec.in | 4 |
1 files changed, 2 insertions, 2 deletions
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 |