plasma-6.5.0

This commit is contained in:
Rmys
2025-10-22 00:22:40 +03:00
parent 3ca8a2028f
commit 4f9327b55c
4 changed files with 60 additions and 0 deletions
@@ -0,0 +1,24 @@
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"
@@ -0,0 +1,32 @@
--- a/kernel/conftest.sh 2025-05-14 11:44:20.223439900 +0300
+++ b/kernel/conftest.sh 2025-05-14 11:44:29.546716534 +0300
@@ -196,7 +196,7 @@
}
build_cflags() {
- BASE_CFLAGS="-O2 -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -D__KERNEL__ \
+ BASE_CFLAGS="-std=gnu17 -O2 -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -D__KERNEL__ \
-DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
-nostdinc -isystem $ISYSTEM"
--- a/kernel/nvidia-modules-common.mk 2025-05-14 11:44:20.176773517 +0300
+++ b/kernel/nvidia-modules-common.mk 2025-05-14 11:44:28.033392404 +0300
@@ -116,7 +116,7 @@
# NVIDIA specific CFLAGS and #define's.
#
-EXTRA_CFLAGS += -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"$(MODULE_NAME)\"
+EXTRA_CFLAGS += -std=gnu17 -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"$(MODULE_NAME)\"
#
# Detect SGI UV systems and apply system-specific optimizations.
--- a/kernel/uvm/conftest.sh 2025-05-14 11:44:20.223439900 +0300
+++ b/kernel/uvm/conftest.sh 2025-05-14 11:44:28.816720973 +0300
@@ -196,7 +196,7 @@
}
build_cflags() {
- BASE_CFLAGS="-O2 -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -D__KERNEL__ \
+ BASE_CFLAGS="-std=gnu17 -O2 -Wno-implicit-function-declaration -Wno-incompatible-pointer-types -D__KERNEL__ \
-DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\" \
-nostdinc -isystem $ISYSTEM"