Makefile: remove GCC wrapper

This commit is contained in:
Francescodario Cuzzocrea
2019-08-04 15:16:17 +02:00
parent c797d3cdb5
commit 400a70dcc9
+1 -6
View File
@@ -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
@@ -350,11 +350,6 @@ ifeq ($(CONFIG_CRYPTO_FIPS),)
export READELF
endif
# 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 =