Skip to content

Commit 2ea44cb

Browse files
Benoît AllardgeneC
authored andcommitted
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>
1 parent 6cdeb9c commit 2ea44cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

efi/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ syslinux.so: $(OBJS) $(CORE_OBJS) $(LIB_OBJS)
8080
# cp $^ $@
8181

8282
wrapper: wrapper.c
83-
$(CC) $^ -o $@
83+
$(CC_FOR_BUILD) $^ -o $@
8484

8585
#
8686
# Build the wrapper app and wrap our .so to produce a .efi

0 commit comments

Comments
 (0)