From: Lucas Stach <l.stach@xxxxxxxxxxxxxx> Subject: tools/vm: fix cross-compile build 7ed1c1901fe5 (tools: fix cross-compile var clobbering) moved the setup of the CC variable to tools/scripts/Makefile.include to make the behavior consistent across all the tools Makefiles. As the vm tools missed the include we end up with the wrong CC in a cross-compiling evironment. Link: http://lkml.kernel.org/r/20200416104748.25243-1-l.stach@xxxxxxxxxxxxxx Fixes: 7ed1c1901fe5 (tools: fix cross-compile var clobbering) Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> Cc: Martin Kelly <martin@xxxxxxxxxxxxxxxx> Cc: <stable@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/vm/Makefile | 2 ++ 1 file changed, 2 insertions(+) --- a/tools/vm/Makefile~tools-vm-fix-cross-compile-build +++ a/tools/vm/Makefile @@ -1,6 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 # Makefile for vm tools # +include ../scripts/Makefile.include + TARGETS=page-types slabinfo page_owner_sort LIB_DIR = ../lib/api _