Commit b6aa997 "Add feature check core code" added feature checking logic in config/feature-checks/Makefile but didn't use the CROSS_COMPILE value.
Fix it by prefixing $(CC), as is done in Makefile.perf. Signed-off-by: Michael Ellerman <[email protected]> --- tools/perf/config/feature-checks/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/config/feature-checks/Makefile b/tools/perf/config/feature-checks/Makefile index bc86462..f3946db 100644 --- a/tools/perf/config/feature-checks/Makefile +++ b/tools/perf/config/feature-checks/Makefile @@ -28,7 +28,7 @@ FILES= \ test-stackprotector-all \ test-timerfd -CC := $(CC) -MD +CC := $(CROSS_COMPILE)$(CC) -MD all: $(FILES) -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

