aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoît Allard <benoit.allard@greenbone.net>2017-06-12 14:59:16 +0200
committerJoakim Tjernlund <joakim.tjernlund@infinera.com>2017-11-09 19:02:58 +0100
commit4087d424c45951f86baec84bfbf5399ebf83077d (patch)
tree4da078479901ab0c817d991b9bd4109038330657
parentae78f7300c76093cb8b7bd65911e6b69ae098646 (diff)
downloadsyslinux-4087d424c45951f86baec84bfbf5399ebf83077d.tar.gz
syslinux-4087d424c45951f86baec84bfbf5399ebf83077d.tar.xz
syslinux-4087d424c45951f86baec84bfbf5399ebf83077d.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/Makefile2
1 files changed, 1 insertions, 1 deletions
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