]> Cypherpunks repositories - gostls13.git/commit
cmd/link: add -extar option to set ar program for c-archive
authorIan Lance Taylor <iant@golang.org>
Mon, 25 Jan 2016 19:44:02 +0000 (11:44 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 26 Jan 2016 18:52:36 +0000 (18:52 +0000)
commit1aab7b9626b8bc735d7340c1eb47d8d46560290f
tree8549bd8a87ba4932662db39f8b35530aa525557e
parentc2b40809c136c341716287a30f1a619b2921f075
cmd/link: add -extar option to set ar program for c-archive

People who want to use -buildmode=c-archive in unusual cross-compilation
setups will need something like this.  It could also be done via (yet
another) environment variable but I use -extar by analogy with the
existing -extld.

Change-Id: I354cfabc4c470603affd13cd946997b3a24c0e6c
Reviewed-on: https://go-review.googlesource.com/18913
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
misc/cgo/testcarchive/test.bash
src/cmd/link/doc.go
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/pobj.go