Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d409bbdf authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "kbuild: Disable the gcc-wrapper with an environment variable"

parents 48232255 eb0d5bee
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -427,9 +427,13 @@ PYTHON3 = python3
CHECK		= sparse
BASH		= bash

ifndef DISABLE_WRAPPER
# Use the wrapper for the compiler.  This wrapper scans for new
# warnings and causes the build to stop upon encountering them
CC		= $(srctree)/scripts/gcc-wrapper.py $(REAL_CC)
else
CC		= $(REAL_CC)
endif

CHECKFLAGS     := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
		  -Wbitwise -Wno-return-void -Wno-unknown-attribute $(CF)