blob: 23bc3eaf72af19d1c490c36d0ae28ed38084e4b8 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From 79019d976584c598f8d0a9d8de43c989946f974b Mon Sep 17 00:00:00 2001
2From: Pascal Bach <pascal.bach@siemens.com>
3Date: Wed, 13 Feb 2019 09:28:07 +0100
4Subject: [PATCH] Don't build tools with CC_FOR_BUILD
5
6The tools are intended for the target not for the host.
7
8Upstream-Status: Pending
9
10Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
11---
12 tools/locktest/Makefile.am | 1 -
13 tools/rpcgen/Makefile.am | 1 -
14 2 files changed, 2 deletions(-)
15
16diff --git a/tools/locktest/Makefile.am b/tools/locktest/Makefile.am
17index 3156815..87d0bac 100644
18--- a/tools/locktest/Makefile.am
19+++ b/tools/locktest/Makefile.am
20@@ -1,6 +1,5 @@
21 ## Process this file with automake to produce Makefile.in
22
23-CC=$(CC_FOR_BUILD)
24 LIBTOOL = @LIBTOOL@ --tag=CC
25
26 noinst_PROGRAMS = testlk
27diff --git a/tools/rpcgen/Makefile.am b/tools/rpcgen/Makefile.am
28index 8a9ec89..3e092c9 100644
29--- a/tools/rpcgen/Makefile.am
30+++ b/tools/rpcgen/Makefile.am
31@@ -1,6 +1,5 @@
32 ## Process this file with automake to produce Makefile.in
33
34-CC=$(CC_FOR_BUILD)
35 LIBTOOL = @LIBTOOL@ --tag=CC
36
37 noinst_PROGRAMS = rpcgen
38--
392.11.0
40