mirror of
https://github.com/golang/go
synced 2024-11-23 04:40:09 -07:00
runtime: remove use of -mnop-fun-dllimport from cgotest win.go
This flag is not supported by clang, so remove it from the cgo cflags when building for windows. It is clear that it was needed at some point in the past, but it doesn't appear to be needed at the moment, since all.bash passes on windows without it now. Updates #35006. Change-Id: Ib06c891f516654138e3363e06645cd187e46ce4e Reviewed-on: https://go-review.googlesource.com/c/go/+/383838 Trust: Alex Brainman <alex.brainman@gmail.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Trust: Than McIntosh <thanm@google.com> Run-TryBot: Than McIntosh <thanm@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
1edc2769ca
commit
5138401209
@ -1,8 +1,6 @@
|
||||
package windows
|
||||
|
||||
/*
|
||||
#cgo amd64 386 CFLAGS: -mnop-fun-dllimport
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
DWORD agetthread() {
|
||||
|
Loading…
Reference in New Issue
Block a user