summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2024-03-20 10:59:52 +0100
committerQuentin Schulz <quentin.schulz@theobroma-systems.com>2024-03-20 11:02:56 +0100
commitc6a76ccfe0bb8e66dbc289b7cfa195d1da198122 (patch)
tree0ee5ebcece62e23abe9ca59e26cd8ec3e9616134
parent37999bea2c2311eb1acf63a707817e07f2dd423b (diff)
TSD: Makefile: ignore more GCC warnings
This kernel branch is outdated and not supported, but it's still interesting to compile every now and then to check mainline against Rockchip downstream kernel we used to bring up Puma. Therefore, let's ignore all those warnings from newer GCCs since we won't fix them anyway. Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9fc62e6bb88c..028ba678a8c8 100644
--- a/Makefile
+++ b/Makefile
@@ -415,7 +415,7 @@ KBUILD_CPPFLAGS := -D__KERNEL__
KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-Werror-implicit-function-declaration \
- -Wno-format-security \
+ -Wno-format-security -Wno-stringop-overflow -Wno-address -Wno-array-bounds -Wno-array-compare -Wno-address-of-packed-member -Wno-stringop-overread -Wno-dangling-pointer -Wno-missing-attributes -Wno-restrict -Wno-enum-int-mismatch \
-std=gnu89 $(call cc-option,-fno-PIE)