summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrafa_99 <raroma09@gmail.com>2022-03-04 13:13:25 +0000
committerRafael Marçalo <raroma09@gmail.com>2024-02-27 11:13:20 +0000
commit56710e90138f1d65f56b71b64c04bf07c6a50fff (patch)
treeb44f6c742d38049c1cc81476a76def9c4cda87b0 /Makefile
parent6d8bf726726d32090b7a7861f2384bd569e463c0 (diff)
Suppressed Some Errors
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9f5610bef1eb..0848708316e0 100644
--- a/Makefile
+++ b/Makefile
@@ -749,6 +749,9 @@ endif
# Use make W=1 to enable them (see scripts/Makefile.extrawarn)
KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
+# Suppress unused-but-set-variable errors
+KBUILD_CFLAGS += -Wno-error=unused-but-set-variable
+
KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
ifdef CONFIG_FRAME_POINTER
KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls