]> Cypherpunks repositories - gostls13.git/commit
cmd/go: check for another GCC error message
authorIan Lance Taylor <iant@golang.org>
Wed, 10 Jan 2018 14:28:59 +0000 (06:28 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 10 Jan 2018 20:46:52 +0000 (20:46 +0000)
commitf7d8098a7b6148811824bf50ec32c8f8d0a35d12
tree2080c8739960cd58acf944be5791452220b4c616
parent37d56279c87818b496e5717bddd1f7c43bfa743d
cmd/go: check for another GCC error message

GCC always recognizes the -fsplit-stack option, but then tests whether
it is supported by the selected target. If not, it reports
    cc1: error: ‘-fsplit-stack’ is not supported by this compiler configuration
Check for that error message when deciding whether a compiler option works.

Change-Id: I2eef8d550bbecba3a087869df2c7351280c77290
Reviewed-on: https://go-review.googlesource.com/87136
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/go/internal/work/exec.go