Commit 83664340 authored by Albert Strasheim's avatar Albert Strasheim Committed by Russ Cox

build: Allow archiver to be specified in the environment with HOST_AR.

R=rsc
CC=golang-dev
https://golang.org/cl/2515043
parent 802360ed
......@@ -19,7 +19,7 @@ $(QUOTED_GOROOT)/lib/$(LIB): $(LIB)
cp $(LIB) "$(GOROOT)/lib/$(LIB)"
$(LIB): $(OFILES)
ar rsc $(LIB) $(OFILES)
$(HOST_AR) rsc $(LIB) $(OFILES)
CLEANFILES+=y.tab.[ch] y.output a.out $(LIB)
......
......@@ -101,6 +101,7 @@ HOST_CC=quietgcc
HOST_LD=quietgcc
HOST_O=o
HOST_YFLAGS=-d
HOST_AR?=ar
# These two variables can be overridden in the environment
# to build with other flags. They are like $CFLAGS and $LDFLAGS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment