nvidia_390/nvidia_390-390.157-ignore-cc-mismatch.patch
Silvan Calarco 1475c2c6cb update to 390.157
added patches up to kernel 6.4
patch to ignore cc mismatch [release 390.157-1mamba;Thu Jul 27 2023]
2024-01-06 07:47:24 +01:00

12 lines
444 B
Diff

--- 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
;;