mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
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:
8
Makefile
8
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__ \
|
||||
|
||||
Reference in New Issue
Block a user