Author: kwizart
Update of /cvs/nonfree/rpms/nvidia-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv29941
Modified Files:
nvidia-kmod.spec
Log Message:
Fix build
Index: nvidia-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-kmod/devel/nvidia-kmod.spec,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -r1.138 -r1.139
--- nvidia-kmod.spec 11 Nov 2013 16:00:23 -0000 1.138
+++ nvidia-kmod.spec 11 Nov 2013 21:25:20 -0000 1.139
@@ -64,10 +64,12 @@
%build
for kernel_version in %{?kernel_versions}; do
pushd _kmod_build_${kernel_version%%___*}/kernel/
- make %{?_smp_mflags} KERNEL_UNAME="${kernel_version%%___*}" module
+ make %{?_smp_mflags} IGNORE_CC_MISMATCH=1
KERNEL_UNAME="${kernel_version%%___*}" \
+ SYSSRC="${kernel_version##*___}" module
popd
pushd _kmod_build_${kernel_version%%___*}/kernel/uvm
- make %{?_smp_mflags} KERNEL_UNAME="${kernel_version%%___*}" module
+ make %{?_smp_mflags} IGNORE_CC_MISMATCH=1
KERNEL_UNAME="${kernel_version%%___*}" \
+ SYSSRC="${kernel_version##*___}" module
popd
done