Skip to content

Commit

Permalink
efi/wrapper: build it with the host toolchain.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Benoît Allard authored and geneC committed Nov 23, 2017
1 parent 6cdeb9c commit 2ea44cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion efi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ea44cb

Please sign in to comment.