forked from ravindu644/Android-Kernel-Tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path004.remove_gcc wrapper.patch
More file actions
executable file
·31 lines (27 loc) · 962 Bytes
/
004.remove_gcc wrapper.patch
File metadata and controls
executable file
·31 lines (27 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
commit bbbb83cebc8531cba9aec0deecc514dacc7d5d1f
Author: Ravindu Deshan <Droidcasts@protonmail.com>
Date: Sat Mar 15 09:20:30 2025 +0000
remove:gcc wrapper
Signed-off-by: Ravindu Deshan <Droidcasts@protonmail.com>
diff --git a/Makefile b/Makefile
index 8463c2517..5fb2abfe3 100755
--- a/Makefile
+++ b/Makefile
@@ -348,7 +348,6 @@ include scripts/Kbuild.include
# Make variables (CC, etc...)
AS = $(CROSS_COMPILE)as
LD = $(CROSS_COMPILE)ld
-REAL_CC = $(CROSS_COMPILE)gcc
LDGOLD = $(CROSS_COMPILE)ld.gold
CPP = $(CC) -E
AR = $(CROSS_COMPILE)ar
@@ -364,10 +363,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)
NOSTDINC_FLAGS =