Revert "rk: Makefile: add gcc-wrapper"

This reverts commit c2482146d1.
Replaced by WERROR.

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Icf6db0cf80a50a399bbc47a12d28a6496842c562
This commit is contained in:
Tao Huang
2023-09-04 15:30:36 +08:00
parent 8364eb317f
commit 97d93e6afe

View File

@@ -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__ \