diff --git a/Makefile b/Makefile index 8cee9c9bd..85eec4d33 100755 --- a/Makefile +++ b/Makefile @@ -388,7 +388,7 @@ READELF = llvm-readelf OBJSIZE = llvm-size STRIP = llvm-strip else -REAL_CC = clang +CC = clang LD = ld.lld AR = $(CROSS_COMPILE)ar NM = $(CROSS_COMPILE)nm @@ -410,10 +410,6 @@ PYTHON2 = python2 PYTHON3 = python3 CHECK = sparse -# Use the wrapper for the compiler. This wrapper scans for new -# warnings and causes the build to stop upon encountering them -CC = $(PYTHON) $(srctree)/scripts/gcc-wrapper.py $(REAL_CC) - CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ -Wbitwise -Wno-return-void -Wno-unknown-attribute $(CF) NOSTDINC_FLAGS =