From 2ea44cbedb297bd6b409d5c1e0402d5f89592be4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Allard?= Date: Mon, 12 Jun 2017 14:59:16 +0200 Subject: [PATCH] efi/wrapper: build it with the host toolchain. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The wrapper program is executed on the build machine, so it should be built with CC_FOR_BUILD. Signed-off-by: BenoƮt Allard --- efi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/efi/Makefile b/efi/Makefile index c57e13f7..f4501e7f 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 -- 2.11.4.GIT