archive: build archive tool with HOSTCC

BUG=chromium:502066
BRANCH=tot
TEST=Tested on Jerry

Change-Id: I28f5decabcbaf1e61c9b4e549b11e568dace8c09
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/312902
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
diff --git a/util/archive/Makefile b/util/archive/Makefile
index a592a62..7008cc2 100644
--- a/util/archive/Makefile
+++ b/util/archive/Makefile
@@ -1,12 +1,12 @@
 PROGRAM = archive
-CC ?= gcc
+HOSTCC ?= gcc
 
 SRCS = $(PROGRAM).c
 
 all: $(PROGRAM)
 
 $(PROGRAM): $(SRCS)
-	$(CC) -o $@ $^
+	$(HOSTCC) -o $@ $^
 
 clean:
 	rm -f $(PROGRAM) *.o