Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Fix powerpc build #607

Merged
merged 1 commit into from
Mar 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions rpm/generic/spl-kmod.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ BuildRequires: %{_bindir}/kmodtool
%endif
%endif

# LDFLAGS are not sanitized by arch/powerpc/Makefile (unlike other arches)
%ifarch ppc ppc64 ppc64le
%global __global_ldflags %{nil}
%endif

%if 0%{?fedora} >= 17
%define prefix /usr
%endif
Expand Down
5 changes: 5 additions & 0 deletions rpm/redhat/spl-kmod.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ 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
%global __global_ldflags %{nil}
%endif

%description
This package contains the kernel modules required to emulate
several interfaces provided by the Solaris kernel.
Expand Down