mirror of
https://github.com/golang/go
synced 2024-11-06 05:26:11 -07:00
cmd/go/internal/work: whitelist tvOS and watchOS compiler flags
Updates #22395 Change-Id: I6c207934b32d38374875f756c4f8c6dfe38d8cb0 Reviewed-on: https://go-review.googlesource.com/c/go/+/168318 Run-TryBot: Elias Naur <mail@eliasnaur.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
72954ebcfd
commit
b4f3b8a313
@ -101,6 +101,10 @@ var validCompilerFlags = []*lazyregexp.Regexp{
|
||||
re(`-mmacosx-(.+)`),
|
||||
re(`-mios-simulator-version-min=(.+)`),
|
||||
re(`-miphoneos-version-min=(.+)`),
|
||||
re(`-mtvos-simulator-version-min=(.+)`),
|
||||
re(`-mtvos-version-min=(.+)`),
|
||||
re(`-mwatchos-simulator-version-min=(.+)`),
|
||||
re(`-mwatchos-version-min=(.+)`),
|
||||
re(`-mnop-fun-dllimport`),
|
||||
re(`-m(no-)?sse[0-9.]*`),
|
||||
re(`-m(no-)?ssse3`),
|
||||
|
Loading…
Reference in New Issue
Block a user