summaryrefslogtreecommitdiff
path: root/util/cbfstool/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbfstool/tools/Makefile')
-rw-r--r--util/cbfstool/tools/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/cbfstool/tools/Makefile b/util/cbfstool/tools/Makefile
index 65ba375fc3..e750c21bd7 100644
--- a/util/cbfstool/tools/Makefile
+++ b/util/cbfstool/tools/Makefile
@@ -12,13 +12,13 @@ include $(tsrc)/lzma/Makefile
COMMON = common.o compress.o $(LZMA_OBJ)
$(tobj)/cbfs-mkstage: $(tobj)/cbfs-mkstage.o $(patsubst %,$(tobj)/%,$(COMMON))
- $(CXX) $(CFLAGS) -o $@ $^
+ $(HOSTCXX) $(CFLAGS) -o $@ $^
$(tobj)/cbfs-mkpayload: $(tobj)/cbfs-mkpayload.o $(patsubst %,$(tobj)/%,$(COMMON))
- $(CXX) $(CFLAGS) -o $@ $^
+ $(HOSTCXX) $(CFLAGS) -o $@ $^
$(tobj)/%.o: %.c
- $(CC) $(CFLAGS) -c -o $@ $<
+ $(HOSTCC) $(CFLAGS) -c -o $@ $<
tools-clean:
rm -f $(tobj)/cbfs-mkpayload.o $(tobj)/cbfs-mkstage.o $(patsubst %,$(tobj)/%,$(COMMON))