Makefile: Do not use gcc-wrapper.py
Reasons: 1. Its still using python2 which is deprecated on some host except if you compiled python2 by your own 2. -Werror cflags exist, why even bother? 3. Using this may waste memory Signed-off-by: rsuntk <rissu.ntk@gmail.com>
This commit is contained in:
parent
44ef04814e
commit
3ecf96a22d
1 changed files with 1 additions and 5 deletions
6
Makefile
6
Makefile
|
@ -388,7 +388,7 @@ READELF = llvm-readelf
|
||||||
OBJSIZE = llvm-size
|
OBJSIZE = llvm-size
|
||||||
STRIP = llvm-strip
|
STRIP = llvm-strip
|
||||||
else
|
else
|
||||||
REAL_CC = clang
|
CC = clang
|
||||||
LD = ld.lld
|
LD = ld.lld
|
||||||
AR = $(CROSS_COMPILE)ar
|
AR = $(CROSS_COMPILE)ar
|
||||||
NM = $(CROSS_COMPILE)nm
|
NM = $(CROSS_COMPILE)nm
|
||||||
|
@ -410,10 +410,6 @@ PYTHON2 = python2
|
||||||
PYTHON3 = python3
|
PYTHON3 = python3
|
||||||
CHECK = sparse
|
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__ \
|
CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
|
||||||
-Wbitwise -Wno-return-void -Wno-unknown-attribute $(CF)
|
-Wbitwise -Wno-return-void -Wno-unknown-attribute $(CF)
|
||||||
NOSTDINC_FLAGS =
|
NOSTDINC_FLAGS =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue