hc
2024-08-16 94ba65e25ce534ec0515708c9e0835242345bc7b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 2419ad79b25fcc1746178aba609fddbb0aa8c9e0 Mon Sep 17 00:00:00 2001
From: Francois Perrad <francois.perrad@gadz.org>
Date: Sat, 1 Dec 2018 16:10:13 +0100
Subject: [PATCH] build nsgenbind for the build machine
 
The nsgenbind tool is meant to be executed on the build machine during
the build, so it should not be built with the cross-compiler, but with
the native compiler.
 
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 
diff --git a/Makefile b/Makefile
index f279f01..5698c87 100644
--- a/Makefile
+++ b/Makefile
@@ -110,7 +110,7 @@ endef
 
 # prefixed install macro for each host sub target
 define do_build_prefix_install
-    $(MAKE) install --directory=$1 HOST=$(BUILD) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR=
+    $(MAKE) install --directory=$1 HOST=$(BUILD) CC=$(BUILD_CC) PREFIX=$(TMP_PREFIX) Q=$(Q) DESTDIR=
 
 endef
 
-- 
2.17.1