]> Cypherpunks repositories - gostls13.git/commit
cmd/go: pass -X64 to ar on aix/ppc64
authorClément Chigot <clement.chigot@atos.net>
Thu, 28 Feb 2019 08:55:27 +0000 (09:55 +0100)
committerIan Lance Taylor <iant@golang.org>
Tue, 5 Mar 2019 02:09:48 +0000 (02:09 +0000)
commitb6625758e407eaa2038d7355546689eea9bf4ea2
tree0f0dd597a0fc25046e42575814a93be40337347a
parentc1e2227505cb856bbe9e8274e8427397d5df6c3d
cmd/go: pass -X64 to ar on aix/ppc64

On aix/ppc64, ar tool must always have -X64 argument if it aims to
create 64 bits archives.

This commit also adds the -D flag handler when calling ar with
gccgotoolchain, to match gccgo version.

Change-Id: I1f5750f8f64a7073780d283567f0b60fc7fa5b97
Reviewed-on: https://go-review.googlesource.com/c/go/+/164417
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/go/internal/work/gccgo.go