Skip to content

Commit

Permalink
Revert "scripts: gcc-wrapper: Use wrapper to check compiler warnings"
Browse files Browse the repository at this point in the history
This reverts commit cc95d2b.
  • Loading branch information
usertam committed Oct 19, 2021
1 parent 88f4884 commit 8dfafe7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 100 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ include scripts/Kbuild.include
# Make variables (CC, etc...)
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
Expand All @@ -354,10 +354,6 @@ PERL = perl
PYTHON = python
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 $(CF)
CFLAGS_MODULE =
Expand Down
95 changes: 0 additions & 95 deletions scripts/gcc-wrapper.py

This file was deleted.

0 comments on commit 8dfafe7

Please sign in to comment.