0002-do-not-cross-compile-nsgenbind.patch 914 B

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