]> git.proxmox.com Git - mirror_spl-debian.git/blobdiff - rpm/redhat/spl-kmod.spec.in
New upstream version 0.7.2
[mirror_spl-debian.git] / rpm / redhat / spl-kmod.spec.in
index 6fcc4a898b55dcfe82ba1ad0bf3b43a546d77f57..4e2a9f955de5f3eabac783af323296ef014c0acf 100644 (file)
@@ -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/*/Makefile for these architectures.
+%ifarch ppc ppc64 ppc64le aarch64
+%global __global_ldflags %{nil}
+%endif
+
 %description
 This package contains the kernel modules required to emulate
 several interfaces provided by the Solaris kernel.