Messages in this thread Patch in this message |  | | From | Michael Ellerman <> | Subject | [PATCH] tools/perf: Fix cross compilation | Date | Thu, 12 Dec 2013 16:12:14 +1100 |
| |
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 <mpe@ellerman.id.au> --- 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
|  |