0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-12-17 01:21:33 +00:00
Lakka-LibreELEC/packages/x11/driver/xf86-video-nvidia-legacy/patches/xf86-video-nvidia-legacy-100.16-gcc-14.patch

25 lines
938 B
Diff

diff -Naur a/kernel/conftest.sh b/kernel/conftest.sh
--- a/kernel/conftest.sh 2024-05-10 16:44:09.219463660 +0000
+++ b/kernel/conftest.sh 2024-05-10 16:45:33.696827888 +0000
@@ -196,7 +196,7 @@
}
build_cflags() {
- BASE_CFLAGS="-O2 -D__KERNEL__ \
+ BASE_CFLAGS="-O2 -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -D__KERNEL__ \
-DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
-nostdinc -isystem $ISYSTEM"
diff -Naur a/kernel/uvm/conftest.sh b/kernel/uvm/conftest.sh
--- a/kernel/uvm/conftest.sh 2024-05-10 16:44:09.206130218 +0000
+++ b/kernel/uvm/conftest.sh 2024-05-10 16:45:45.273592434 +0000
@@ -196,7 +196,7 @@
}
build_cflags() {
- BASE_CFLAGS="-O2 -D__KERNEL__ \
+ BASE_CFLAGS="-O2 -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -D__KERNEL__ \
-DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
-nostdinc -isystem $ISYSTEM"