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