[syslinux:master] efi/wrapper: build it with the host toolchain.

syslinux-bot for Benoît Allard benoit.allard at greenbone.net
Thu Nov 23 06:15:11 PST 2017


Commit-ID:  2ea44cbedb297bd6b409d5c1e0402d5f89592be4
Gitweb:     http://www.syslinux.org/commit/2ea44cbedb297bd6b409d5c1e0402d5f89592be4
Author:     Benoît Allard <benoit.allard at greenbone.net>
AuthorDate: Mon, 12 Jun 2017 14:59:16 +0200
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Thu, 23 Nov 2017 09:03:12 -0500

efi/wrapper: build it with the host toolchain.

The wrapper program is executed on the build machine, so it should be
built with CC_FOR_BUILD.

Signed-off-by: Benoît Allard <benoit.allard at greenbone.net>

---
 efi/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/efi/Makefile b/efi/Makefile
index c57e13f..f4501e7 100644
--- a/efi/Makefile
+++ b/efi/Makefile
@@ -80,7 +80,7 @@ syslinux.so: $(OBJS) $(CORE_OBJS) $(LIB_OBJS)
 #	cp $^ $@
 
 wrapper: wrapper.c
-	$(CC) $^ -o $@
+	$(CC_FOR_BUILD) $^ -o $@
 
 #
 # Build the wrapper app and wrap our .so to produce a .efi


More information about the Syslinux-commits mailing list