Merge "Prevent Kati from seeing MAKEFLAGS"
am: 6b363e24bd
Change-Id: I8bc18aa66c7b621ed90d82412b6c29e72334f3f1
This commit is contained in:
@@ -123,6 +123,14 @@ NINJA_REMOTE_NUM_JOBS ?= 500
|
|||||||
NINJA_EXTRA_ARGS += -j$(NINJA_REMOTE_NUM_JOBS)
|
NINJA_EXTRA_ARGS += -j$(NINJA_REMOTE_NUM_JOBS)
|
||||||
else
|
else
|
||||||
NINJA_MAKEPARALLEL := $(MAKEPARALLEL) --ninja
|
NINJA_MAKEPARALLEL := $(MAKEPARALLEL) --ninja
|
||||||
|
|
||||||
|
# We never want Kati to see MAKEFLAGS, as forcefully overriding variables is
|
||||||
|
# terrible. The variables in MAKEFLAGS are still available in the environment,
|
||||||
|
# so if part of the build wants input from the user, it should be explicitly
|
||||||
|
# checking for an environment variable or using ?=
|
||||||
|
#
|
||||||
|
# makeparallel already clears MAKEFLAGS, so it's not necessary in the GOMA case
|
||||||
|
KATI_MAKEPARALLEL := MAKEFLAGS=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
NINJA_ARGS += $(NINJA_EXTRA_ARGS)
|
NINJA_ARGS += $(NINJA_EXTRA_ARGS)
|
||||||
|
Reference in New Issue
Block a user