From aff2f67f47c264cd1ff43f68573b58951a76dbaa Mon Sep 17 00:00:00 2001 From: franciscofranco Date: Fri, 17 Apr 2015 14:41:41 +0000 Subject: [PATCH] makefile: don't use the wrapper, we don't want it to fail compilation with simple warnings Signed-off-by: franciscofranco --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index c7ef76e792957..095db8dca8c6a 100644 --- a/Makefile +++ b/Makefile @@ -330,7 +330,7 @@ include $(srctree)/scripts/Kbuild.include AS = $(CROSS_COMPILE)as LD = $(CROSS_COMPILE)ld -REAL_CC = $(CROSS_COMPILE)gcc +CC = $(CROSS_COMPILE)gcc CPP = $(CC) -E AR = $(CROSS_COMPILE)ar NM = $(CROSS_COMPILE)nm @@ -345,10 +345,6 @@ KALLSYMS = scripts/kallsyms PERL = perl CHECK = sparse -# Use the wrapper for the compiler. This wrapper scans for new -# warnings and causes the build to stop upon encountering them. -CC = $(srctree)/scripts/gcc-wrapper.py $(REAL_CC) - CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ -Wbitwise -Wno-return-void $(CF) CFLAGS_MODULE =