Add cflags Wno-error
Some checks failed
Kernel Release / Build (push) Failing after 37m50s
Kernel Release / release-deploy (push) Has been skipped

This commit is contained in:
Antoine Martin 2025-01-20 11:18:05 -05:00
parent 07a3149396
commit d6e7630bf2
Signed by: forge
GPG key ID: D62A472A4AA7D541
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,16 @@
diff --git a/Makefile.orig b/Makefile
index cc23c329111e..28c526aac06c 100644
--- a/Makefile.orig
+++ b/Makefile
@@ -951,6 +951,11 @@ include scripts/Makefile.kasan
include scripts/Makefile.extrawarn
include scripts/Makefile.ubsan
+KBUILD_CFLAGS += -Wno-format-truncation
+KBUILD_CFLAGS += -Wno-array-bounds
+KBUILD_CFLAGS += -Wno-stringop-overflow
+KBUILD_CLFAGS += -Wno-compare-distinct-pointer-types
+
# Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments
KBUILD_CPPFLAGS += $(KCPPFLAGS)
KBUILD_AFLAGS += $(KAFLAGS)

View file

@ -10,3 +10,4 @@ pve/0009-NFSv4-pnfs-Fix-a-use-after-free-bug-in-open.patch
pve/0010-scsi-Revert-scsi-qla2xxx-Fix-disk-failure-to-redisco.patch
pve/0011-ext4-recover-csum-seed-of-tmp_inode-after-migrating-.patch
pve/0012-drm-i915-gt-Serialize-TLB-invalidates-with-GT-resets.patch
pve/0013-add-cflags.patch