build/patch/kernel/archive/rk322x-4.4/01-linux-0000-Revert-rk-add-gcc-wrapper.patch

28 lines
878 B
Diff

From a968000cae7b5d0c3c10b4e5a94fd187c891ee08 Mon Sep 17 00:00:00 2001
From: Jonas Karlman <jonas@kwiboo.se>
Date: Wed, 27 Dec 2017 22:01:06 +0100
Subject: [PATCH] Revert "rk: add gcc-wrapper"
This reverts part of commit 7a51384d24fe4da183fc15b2d17aa3c153b822e7.
---
Makefile | 6 ------
1 file changed, 6 deletions(-)
diff --git a/Makefile b/Makefile
index a785aeed4674..d34c20a89fb7 100644
--- a/Makefile
+++ b/Makefile
@@ -372,12 +372,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.
-ifneq ($(wildcard $(srctree)/scripts/gcc-wrapper.py),)
-CC = $(srctree)/scripts/gcc-wrapper.py $(CROSS_COMPILE)gcc
-endif
-
CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
-Wbitwise -Wno-return-void $(CF)
CFLAGS_MODULE =