[syslinux:master] efi/wrapper: build it with the host toolchain.
syslinux-bot for Benoît Allard
benoit.allard at greenbone.net
Wed Feb 20 17:54:51 PST 2019
Commit-ID: 4087d424c45951f86baec84bfbf5399ebf83077d
Gitweb: http://www.syslinux.org/commit/4087d424c45951f86baec84bfbf5399ebf83077d
Author: Benoît Allard <benoit.allard at greenbone.net>
AuthorDate: Mon, 12 Jun 2017 14:59:16 +0200
Committer: Joakim Tjernlund <joakim.tjernlund at infinera.com>
CommitDate: Thu, 9 Nov 2017 19:02:58 +0100
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 869edfef..5b7abcdf 100644
--- a/efi/Makefile
+++ b/efi/Makefile
@@ -78,7 +78,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