X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=Makefile;h=7502f5f154aed26d156d7af8919a594571b0dfca;hb=37f9fe74d31da52e9b7838e7892afa77eab04355;hp=db2bcf3d66b8de00ddf849a49233c376831a4e60;hpb=d6c77973679d56a1834d8f8f9361f5fd0c7f4811;p=cascardo%2Flinux.git diff --git a/Makefile b/Makefile index db2bcf3d66b8..7502f5f154ae 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 4 SUBLEVEL = 0 -EXTRAVERSION = -rc7 +EXTRAVERSION = NAME = Saber-toothed Squirrel # *DOCUMENTATION* @@ -620,6 +620,10 @@ endif NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) CHECKFLAGS += $(NOSTDINC_FLAGS) +ifdef CONFIG_ERROR_ON_WARNING +KBUILD_CFLAGS += -Werror +endif + # warn about C99 declaration after statement KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)