lkml.org 
[lkml]   [2013]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] tools/perf: Fix cross compilation
Date
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


\
 
 \ /
  Last update: 2013-12-12 06:41    [W:0.024 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site