X-Git-Url: http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=blobdiff_plain;f=Makefile;h=2d1e491f7737650b6c8d058e103f53c60eb4a0b9;hp=d45fc2edf1862632a509206e53488f8884c01196;hb=ce4c8f882041341cbb3f1b4632b20440692cbccc;hpb=626bf91a292e2035af5b9d9cce35c5c138dfe06d diff --git a/Makefile b/Makefile index d45fc2edf186..2d1e491f7737 100644 --- a/Makefile +++ b/Makefile @@ -802,6 +802,8 @@ else # Disabled for clang while comment to attribute conversion happens and # https://github.com/ClangBuiltLinux/linux/issues/636 is discussed. KBUILD_CFLAGS += $(call cc-option,-Wimplicit-fallthrough=5,) +# gcc inanely warns about local variables called 'main' +KBUILD_CFLAGS += -Wno-main endif # These warnings generated too much noise in a regular build.