nvidia_470/nvidia_470-470.161.03-ignore_cc_mismatch.patch

12 lines
450 B
Diff
Raw Permalink Normal View History

--- NVIDIA-Linux-x86_64-470.161.03/kernel/conftest.sh.orig 2023-07-27 18:03:50.103252092 +0200
+++ NVIDIA-Linux-x86_64-470.161.03/kernel/conftest.sh 2023-07-27 18:03:55.130225224 +0200
@@ -4955,7 +4955,7 @@
echo "The kernel was built with ${kernel_cc_string}, but the" \
"current compiler version is `$CC --version | head -n 1`.";
fi
- exit 1;
+ exit 0;
fi
;;