]> Cypherpunks repositories - gostls13.git/commit
cmd/go: fix gccSupportsNoPie for old GCC's that don't exit 0
authorIan Lance Taylor <iant@golang.org>
Wed, 13 Jan 2016 18:45:54 +0000 (10:45 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 13 Jan 2016 19:29:22 +0000 (19:29 +0000)
commit7ec55088108d97c66040434671921e6c6b590ff0
tree5b7aa9ea2d9f686cb60a6f42a3458c5ca246d70f
parent00c0a3a677d8720123b646bb8efa3bfa1e36a8a1
cmd/go: fix gccSupportsNoPie for old GCC's that don't exit 0

GCC 4.8 exits 1 on an unrecognized option, but GCC 4.4 and 4.5 exit 0.
I didn't check other versions, or try to figure out just when this
changed.

Fixes #13937.

Change-Id: If193e9053fbb535999c9bde99f430f465a8c7c57
Reviewed-on: https://go-review.googlesource.com/18597
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/build.go