summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2026-01-13 08:29:58 +0100
committerNathan Chancellor <nathan@kernel.org>2026-01-14 14:22:33 -0700
commit379b749add7eff1d1e9fdd53206e1ec5e7cd2266 (patch)
treefefe37338dd91d1285c536f1653489c7809e8865 /Makefile
parent76df6815dab76d7890936dc5f6d91cf7e7f88358 (diff)
kbuild: Drop superfluous compiler option checks
Many of the compiler option checks are not necessary anymore with the current supported versions of compilers (clang 15+, GCC 8.1+). Remove them. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://patch.msgid.link/20260113-kbuild-cc-option-v1-1-011314a0f7f1@weissschuh.net [nathan: Add minor note about currently supported compilers] Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ad91e6a936aa..362df202fb8a 100644
--- a/Makefile
+++ b/Makefile
@@ -1102,7 +1102,7 @@ KBUILD_CFLAGS += -fno-builtin-wcslen
# change __FILE__ to the relative path to the source directory
ifdef building_out_of_srctree
-KBUILD_CPPFLAGS += $(call cc-option,-fmacro-prefix-map=$(srcroot)/=)
+KBUILD_CPPFLAGS += -fmacro-prefix-map=$(srcroot)/=
endif
# include additional Makefiles when needed