diff --git a/srcpkgs/dkms/files/kernel.d/dkms.postinst b/srcpkgs/dkms/files/kernel.d/dkms.postinst index 8c83c4723a0..314f2454bda 100644 --- a/srcpkgs/dkms/files/kernel.d/dkms.postinst +++ b/srcpkgs/dkms/files/kernel.d/dkms.postinst @@ -17,6 +17,8 @@ if [ ! -e /lib/modules/${VERSION}/build/include ] ; then exit 0 fi +export IGNORE_CC_MISMATCH=1 + if [ ! -f /lib/modules/${VERSION}/build/scripts/basic/fixdep ] ; then make -C /lib/modules/${VERSION}/build scripts fi diff --git a/srcpkgs/dkms/template b/srcpkgs/dkms/template index d7aa2ef86db..73749260055 100644 --- a/srcpkgs/dkms/template +++ b/srcpkgs/dkms/template @@ -1,7 +1,7 @@ # Template file for 'dkms' pkgname=dkms version=2.7.1 -revision=1 +revision=2 conf_files="/etc/dkms/framework.conf" depends="bash kmod gcc make coreutils linux-headers" short_desc="Dynamic Kernel Modules System"