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