mirror of
https://github.com/golang/go.git
synced 2025-05-23 08:21:24 +00:00
cmd/go: add a test for -sectcreate in LDFLAGS
It was already covered by a regex pattern, but it didn't have a test. To fix the issue for good, added regression test. Fixes #28832. Change-Id: I861e3bed92d3b9484fd8671270dbd2e264b10d2d Reviewed-on: https://go-review.googlesource.com/c/go/+/191311 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
d535501a8e
commit
e3d3e115e8
@ -143,6 +143,7 @@ var goodLinkerFlags = [][]string{
|
|||||||
{"-L", "framework"},
|
{"-L", "framework"},
|
||||||
{"-framework", "Chocolate"},
|
{"-framework", "Chocolate"},
|
||||||
{"-v"},
|
{"-v"},
|
||||||
|
{"-Wl,-sectcreate,__TEXT,__info_plist,${SRCDIR}/Info.plist"},
|
||||||
{"-Wl,-framework", "-Wl,Chocolate"},
|
{"-Wl,-framework", "-Wl,Chocolate"},
|
||||||
{"-Wl,-framework,Chocolate"},
|
{"-Wl,-framework,Chocolate"},
|
||||||
{"-Wl,-unresolved-symbols=ignore-all"},
|
{"-Wl,-unresolved-symbols=ignore-all"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user