nvidia-all/patches/gcc-14.diff
Tk-Glitch dae9454b8c Add GCC14 fixup patches for older branches
It shouldn't break anything on current but it also shouldn't be necessary, so disable by default

Fix for https://github.com/Frogging-Family/nvidia-all/issues/236
2024-05-21 18:44:14 +02:00

13 lines
555 B
Diff

diff --git a/kernel-dkms/conftest.sh b/kernel-dkms/conftest.sh
--- a/kernel-dkms/conftest.sh
+++ b/kernel-dkms/conftest.sh
@@ -100,7 +100,7 @@ test_headers() {
BASE_CFLAGS="-O2 -D__KERNEL__ \
-DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
-nostdinc -isystem $ISYSTEM \
--Wno-implicit-function-declaration -Wno-strict-prototypes"
+-Wno-implicit-function-declaration -Wno-strict-prototypes -Wno-incompatible-pointer-types"
if [ "$OUTPUT" != "$SOURCES" ]; then
OUTPUT_CFLAGS="-I$OUTPUT/include2 -I$OUTPUT/include"