Skip to content

Commit

Permalink
Makefile: Remove gcc-wrapper
Browse files Browse the repository at this point in the history
This thing is just the worst.

Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance authored and mukul2259 committed Apr 10, 2020
1 parent f0ece6a commit 14f81fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 108 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,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
Expand All @@ -340,10 +340,6 @@ DEPMOD = /sbin/depmod
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 =
Expand Down
103 changes: 0 additions & 103 deletions scripts/gcc-wrapper.py

This file was deleted.

0 comments on commit 14f81fb

Please sign in to comment.