]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/testsanitizers: fix test of whether compiler option works
authorIan Lance Taylor <iant@golang.org>
Tue, 3 Nov 2015 15:14:22 +0000 (07:14 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 3 Nov 2015 23:35:28 +0000 (23:35 +0000)
commit6326786ce7273ee65b2cdcf8ec47752b77ede293
tree4c5d791965b6905c9bcfe4bd257fa05e6d004fb8
parentee0305e036a05f1badd1fd4838b0ee3fb170bcbf
misc/cgo/testsanitizers: fix test of whether compiler option works

On older versions of GCC we need to pass a file name before GCC will
report an unrecognized option.

Fixes #13065.

Change-Id: I7ed34c01a006966a446059025f7d10235c649072
Reviewed-on: https://go-review.googlesource.com/16589
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
misc/cgo/testsanitizers/test.bash