From: Joel Sing Date: Fri, 17 Feb 2023 18:45:34 +0000 (+1100) Subject: runtime/cgo: restore correct build tags for linux/mips* X-Git-Tag: go1.21rc1~1534 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=169203f3ee022abf66647abc99fd483fd10f9a54;p=gostls13.git runtime/cgo: restore correct build tags for linux/mips* The linux build tags were incorrectly removed from these files by CL 460538. Restore the correct build tags so that they are only included in builds for linux/mips* platforms. Change-Id: I21d8802b0252688d8e2228cf904b47d90b253485 Reviewed-on: https://go-review.googlesource.com/c/go/+/469175 Reviewed-by: Cherry Mui Run-TryBot: Joel Sing TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor --- diff --git a/src/runtime/cgo/gcc_linux_mips64x.c b/src/runtime/cgo/gcc_linux_mips64x.c index fbe199a678..c059fd1255 100644 --- a/src/runtime/cgo/gcc_linux_mips64x.c +++ b/src/runtime/cgo/gcc_linux_mips64x.c @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build mips64 || mips64le +//go:build linux && (mips64 || mips64le) #include #include diff --git a/src/runtime/cgo/gcc_linux_mipsx.c b/src/runtime/cgo/gcc_linux_mipsx.c index 781afc097d..218b8fd6e1 100644 --- a/src/runtime/cgo/gcc_linux_mipsx.c +++ b/src/runtime/cgo/gcc_linux_mipsx.c @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build mips || mipsle +//go:build linux && (mips || mipsle) #include #include