cmd: add -maix32 to gcc calls for aix/ppc
authorClément Chigot <clement.chigot@atos.net>
Wed, 26 Aug 2020 08:19:23 +0000 (10:19 +0200)
committerIan Lance Taylor <iant@golang.org>
Wed, 26 Aug 2020 23:29:03 +0000 (16:29 -0700)
commit0c223b02b6e4dfbdeac9f1dcd64ee9d1cd04a5a2
treeb1f116b9ba63e47e7de49e697dab7f82187bfc90
parent6b0b6a3868f34b1462744cfa003c2c6ac18ef28e
cmd: add -maix32 to gcc calls for aix/ppc

As gcc might now be compiled in 64bit, -maix32 must always be added
to ensure that created objects will be 32bit.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/250778
gcc/go/gofrontend/MERGE
libgo/go/cmd/cgo/gcc.go
libgo/go/cmd/go/internal/work/exec.go