lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 12 Dec 2013 16:12:14 +1100
From:	Michael Ellerman <mpe@...erman.id.au>
To:	acme@...stprotocols.net
Cc:	<linux-kernel@...r.kernel.org>, Anton Blanchard <anton@...ba.org>,
	mingo@...hat.com
Subject: [PATCH] tools/perf: Fix cross compilation

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@...erman.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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists