Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kraj/ccf3ede5de028b2861b7ee970d38daac to your computer and use it in GitHub Desktop.
Save kraj/ccf3ede5de028b2861b7ee970d38daac to your computer and use it in GitHub Desktop.
From caecc48349a5ec299db3cac52be8bd87ab3d950e Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Mon, 31 Mar 2025 16:50:32 -0700
Subject: [PATCH] Disable int-conversion and implicit functon decl warnings as
errors
Makes GCC-15 a bit less fussy
Signed-off-by: Khem Raj <[email protected]>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index a41f7b3..a41c6dc 100644
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,7 @@ nvidia-oot: conftest hwpm
M=$(MAKEFILE_DIR)/nvidia-oot \
MODLIB=$(MODLIB) \
CONFIG_TEGRA_OOT_MODULE=m \
- KCFLAGS="-Wno-error=address" \
+ KCFLAGS="-Wno-error=address -Wno-error=implicit-function-declaration -Wno-error=int-conversion" \
srctree.nvidia-oot=$(MAKEFILE_DIR)/nvidia-oot \
srctree.hwpm=$(MAKEFILE_DIR)/hwpm \
srctree.nvconftest=$(NVIDIA_CONFTEST) \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment