From 97d93e6afe79f75d3eaf9a17469403725d7d9ac8 Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Mon, 4 Sep 2023 15:30:36 +0800 Subject: [PATCH] Revert "rk: Makefile: add gcc-wrapper" This reverts commit c2482146d1441a02f393d2ea3f3f31bd68e9c7be. Replaced by WERROR. Signed-off-by: Tao Huang Change-Id: Icf6db0cf80a50a399bbc47a12d28a6496842c562 --- Makefile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Makefile b/Makefile index efcb857868ae..1a4c4af370db 100644 --- a/Makefile +++ b/Makefile @@ -533,14 +533,6 @@ LZ4 = lz4c XZ = xz ZSTD = zstd -# Use the wrapper for the compiler. This wrapper scans for new -# warnings and causes the build to stop upon encountering them. -ifeq ($(CC),$(CROSS_COMPILE)gcc) -ifneq ($(wildcard $(srctree)/scripts/gcc-wrapper.py),) -CC = $(abspath $(srctree)/scripts/gcc-wrapper.py) $(CROSS_COMPILE)gcc -endif -endif - PAHOLE_FLAGS = $(shell PAHOLE=$(PAHOLE) $(srctree)/scripts/pahole-flags.sh) CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \