summaryrefslogtreecommitdiff
path: root/util/archive
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2015-11-17 13:25:39 -0800
committerPatrick Georgi <pgeorgi@google.com>2016-03-08 17:40:05 +0100
commita1bb091d00fb61037301290b1ffc28052cb42167 (patch)
tree570aff346d4bb97c843212cffac810bc6e8eb541 /util/archive
parenta5ae62e9d25a07538677dd9967bbe3208f324ef8 (diff)
downloadcoreboot-a1bb091d00fb61037301290b1ffc28052cb42167.tar.xz
archive: build archive tool with HOSTCC
BUG=chromium:502066 BRANCH=tot TEST=Tested on Jerry Change-Id: Ic227287784bd0c76a0c4c20a40c581d37420b98c Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 1b4e818e91998135288978c6cb68a63288bb20e5 Original-Change-Id: I28f5decabcbaf1e61c9b4e549b11e568dace8c09 Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/312902 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/12926 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/archive')
-rw-r--r--util/archive/Makefile4
1 files changed, 2 insertions, 2 deletions
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