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/236pull/241/head
parent
6a6563cb60
commit
dae9454b8c
@ -0,0 +1,13 @@
|
||||
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,8 @@ test_headers() {
|
||||
build_cflags() {
|
||||
BASE_CFLAGS="-O2 -D__KERNEL__ \
|
||||
-DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
|
||||
--nostdinc -isystem $ISYSTEM"
|
||||
+-nostdinc -isystem $ISYSTEM \
|
||||
+-Wno-implicit-function-declaration -Wno-strict-prototypes -Wno-incompatible-pointer-types"
|
||||
|
||||
if [ "$OUTPUT" != "$SOURCES" ]; then
|
||||
OUTPUT_CFLAGS="-I$OUTPUT/include2 -I$OUTPUT/include"
|
@ -0,0 +1,12 @@
|
||||
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"
|
Loading…
Reference in New Issue