From a1bb091d00fb61037301290b1ffc28052cb42167 Mon Sep 17 00:00:00 2001 From: Daisuke Nojiri Date: Tue, 17 Nov 2015 13:25:39 -0800 Subject: archive: build archive tool with HOSTCC BUG=chromium:502066 BRANCH=tot TEST=Tested on Jerry Change-Id: Ic227287784bd0c76a0c4c20a40c581d37420b98c Signed-off-by: Patrick Georgi Original-Commit-Id: 1b4e818e91998135288978c6cb68a63288bb20e5 Original-Change-Id: I28f5decabcbaf1e61c9b4e549b11e568dace8c09 Original-Signed-off-by: Daisuke Nojiri Original-Reviewed-on: https://chromium-review.googlesource.com/312902 Original-Reviewed-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/12926 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- util/archive/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/archive/Makefile') diff --git a/util/archive/Makefile b/util/archive/Makefile index a592a627fa..7008cc2020 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 -- cgit v1.2.3