diff options
author | Benoît Allard <benoit.allard@greenbone.net> | 2017-06-12 14:59:16 +0200 |
---|---|---|
committer | Gene Cumm <gene.cumm@gmail.com> | 2017-11-23 09:03:12 -0500 |
commit | 2ea44cbedb297bd6b409d5c1e0402d5f89592be4 (patch) | |
tree | 295266c0af6f2fba79b03d30c66d475b88927686 | |
parent | 6cdeb9ceb8b5fd929a534535d33f61791e8cec60 (diff) | |
download | syslinux-2ea44cbedb297bd6b409d5c1e0402d5f89592be4.tar.gz syslinux-2ea44cbedb297bd6b409d5c1e0402d5f89592be4.tar.xz syslinux-2ea44cbedb297bd6b409d5c1e0402d5f89592be4.zip |
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@greenbone.net>
-rw-r--r-- | efi/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |