nvidia_390/nvidia_390-390.157-ignore-cc-mismatch.patch

12 lines
444 B
Diff
Raw Permalink Normal View History

--- NVIDIA-Linux-x86_64-390.157/kernel/conftest.sh.orig 2022-10-11 18:00:50.000000000 +0200
+++ NVIDIA-Linux-x86_64-390.157/kernel/conftest.sh 2023-07-27 17:40:56.108522499 +0200
@@ -4772,7 +4772,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
;;