diff --git a/Makefile b/Makefile index 18ecb49f1af67949ebc481fe6412bd7b487448c8..3b3cd75bba8784a6daee26130c8bd239d070b6ad 100644 --- a/Makefile +++ b/Makefile @@ -793,10 +793,6 @@ ifdef CONFIG_CC_IS_CLANG KBUILD_CPPFLAGS += -Qunused-arguments # The kernel builds with '-std=gnu11' so use of GNU extensions is acceptable. KBUILD_CFLAGS += -Wno-gnu -# CLANG uses a _MergedGlobals as optimization, but this breaks modpost, as the -# source of a reference will be _MergedGlobals and not on of the whitelisted names. -# See modpost pattern 2 -KBUILD_CFLAGS += -mno-global-merge else # gcc inanely warns about local variables called 'main'