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>
This commit is contained in:
parent
a5ae62e9d2
commit
a1bb091d00
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue