summaryrefslogtreecommitdiff
path: root/libgo/go/os/signal
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2022-02-16 11:30:04 -0800
committerIan Lance Taylor <iant@golang.org>2022-02-16 12:20:10 -0800
commit24ca97325cab7bc454c785d55f37120fe7ea6f74 (patch)
tree0dff7e34fe65a75ba82e4a13d69991fdaea7c5eb /libgo/go/os/signal
parent6d66bd25dc84e362f56ffe66667f6c9017ba73d0 (diff)
downloadgcc-24ca97325cab7bc454c785d55f37120fe7ea6f74.tar.gz
libgo: restore building on Solaris
Add build tags and a few other changes so that libgo builds on Solaris. Patch partially from Rainer Orth. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/386215
Diffstat (limited to 'libgo/go/os/signal')
-rw-r--r--libgo/go/os/signal/internal/pty/pty.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/os/signal/internal/pty/pty.go b/libgo/go/os/signal/internal/pty/pty.go
index e5ee3f6dc01..01c3908becf 100644
--- a/libgo/go/os/signal/internal/pty/pty.go
+++ b/libgo/go/os/signal/internal/pty/pty.go
@@ -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 (aix || darwin || dragonfly || freebsd || hurd || (linux && !android) || netbsd || openbsd) && cgo
+//go:build (aix || darwin || dragonfly || freebsd || hurd || (linux && !android) || netbsd || openbsd || solaris) && cgo
// Package pty is a simple pseudo-terminal package for Unix systems,
// implemented by calling C functions via cgo.