diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-02-01 21:57:36 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-02-01 21:57:36 +0000 |
commit | 27d6b510718292a5852f4d4f0d449723a369edfb (patch) | |
tree | 70524ac9f75088c6909f9f6dd40957c9361101e3 /libgo/go/os | |
parent | b52a3881f04799d410f7ec70d022179c8d734459 (diff) | |
download | gcc-27d6b510718292a5852f4d4f0d449723a369edfb.zip gcc-27d6b510718292a5852f4d4f0d449723a369edfb.tar.gz gcc-27d6b510718292a5852f4d4f0d449723a369edfb.tar.bz2 |
libgo: add hurd build tags
Patch by Svante Signell.
Reviewed-on: https://go-review.googlesource.com/c/160822
From-SVN: r268459
Diffstat (limited to 'libgo/go/os')
-rw-r--r-- | libgo/go/os/dir_largefile.go | 2 | ||||
-rw-r--r-- | libgo/go/os/dir_regfile.go | 1 | ||||
-rw-r--r-- | libgo/go/os/error_posix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/error_unix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/exec/lp_unix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/exec_posix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/exec_unix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/executable_procfs.go | 2 | ||||
-rw-r--r-- | libgo/go/os/file_posix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/file_unix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/path_unix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/removeall_at.go | 2 | ||||
-rw-r--r-- | libgo/go/os/removeall_noat.go | 2 | ||||
-rw-r--r-- | libgo/go/os/signal/internal/pty/pty.go | 2 | ||||
-rw-r--r-- | libgo/go/os/signal/signal_unix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/stat_atim.go | 2 | ||||
-rw-r--r-- | libgo/go/os/stat_unix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/sys_uname.go | 2 | ||||
-rw-r--r-- | libgo/go/os/sys_unix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/user/cgo_lookup_unix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/user/decls_unix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/user/listgroups_unix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/user/lookup_unix.go | 2 | ||||
-rw-r--r-- | libgo/go/os/wait_unimp.go | 2 |
24 files changed, 24 insertions, 23 deletions
diff --git a/libgo/go/os/dir_largefile.go b/libgo/go/os/dir_largefile.go index 75df6a4..e7d30f8 100644 --- a/libgo/go/os/dir_largefile.go +++ b/libgo/go/os/dir_largefile.go @@ -5,7 +5,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build aix linux solaris,386 solaris,sparc +// +build aix hurd linux solaris,386 solaris,sparc package os diff --git a/libgo/go/os/dir_regfile.go b/libgo/go/os/dir_regfile.go index 02ddd7b..1f18bab 100644 --- a/libgo/go/os/dir_regfile.go +++ b/libgo/go/os/dir_regfile.go @@ -6,6 +6,7 @@ // license that can be found in the LICENSE file. // +build !aix +// +build !hurd // +build !linux // +build !solaris !386 // +build !solaris !sparc diff --git a/libgo/go/os/error_posix.go b/libgo/go/os/error_posix.go index 0478ba6..401e6f7 100644 --- a/libgo/go/os/error_posix.go +++ b/libgo/go/os/error_posix.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. -// +build aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris windows +// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd solaris windows package os diff --git a/libgo/go/os/error_unix.go b/libgo/go/os/error_unix.go index bb6bbcc..7801057 100644 --- a/libgo/go/os/error_unix.go +++ b/libgo/go/os/error_unix.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. -// +build aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris +// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd solaris package os diff --git a/libgo/go/os/exec/lp_unix.go b/libgo/go/os/exec/lp_unix.go index 799e0b4..d3f174f 100644 --- a/libgo/go/os/exec/lp_unix.go +++ b/libgo/go/os/exec/lp_unix.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. -// +build aix darwin dragonfly freebsd linux nacl netbsd openbsd solaris +// +build aix darwin dragonfly freebsd hurd linux nacl netbsd openbsd solaris package exec diff --git a/libgo/go/os/exec_posix.go b/libgo/go/os/exec_posix.go index 4c82612..4b1902f 100644 --- a/libgo/go/os/exec_posix.go +++ b/libgo/go/os/exec_posix.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. -// +build aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris windows +// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd solaris windows package os diff --git a/libgo/go/os/exec_unix.go b/libgo/go/os/exec_unix.go index abae5a2..1cb8ebc 100644 --- a/libgo/go/os/exec_unix.go +++ b/libgo/go/os/exec_unix.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. -// +build aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris +// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd solaris package os diff --git a/libgo/go/os/executable_procfs.go b/libgo/go/os/executable_procfs.go index 5bb63b9..d6ac270 100644 --- a/libgo/go/os/executable_procfs.go +++ b/libgo/go/os/executable_procfs.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. -// +build linux netbsd dragonfly nacl js,wasm +// +build hurd linux netbsd dragonfly nacl js,wasm package os diff --git a/libgo/go/os/file_posix.go b/libgo/go/os/file_posix.go index 1c0de5c..85395d6 100644 --- a/libgo/go/os/file_posix.go +++ b/libgo/go/os/file_posix.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. -// +build aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris windows +// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd solaris windows package os diff --git a/libgo/go/os/file_unix.go b/libgo/go/os/file_unix.go index e9ac774..5f7ab30 100644 --- a/libgo/go/os/file_unix.go +++ b/libgo/go/os/file_unix.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. -// +build aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris +// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd solaris package os diff --git a/libgo/go/os/path_unix.go b/libgo/go/os/path_unix.go index be373a5..e55301f 100644 --- a/libgo/go/os/path_unix.go +++ b/libgo/go/os/path_unix.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. -// +build aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris +// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd solaris package os diff --git a/libgo/go/os/removeall_at.go b/libgo/go/os/removeall_at.go index f0fed6d..5128de7 100644 --- a/libgo/go/os/removeall_at.go +++ b/libgo/go/os/removeall_at.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. -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris +// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris package os diff --git a/libgo/go/os/removeall_noat.go b/libgo/go/os/removeall_noat.go index 80527e2..47fff42 100644 --- a/libgo/go/os/removeall_noat.go +++ b/libgo/go/os/removeall_noat.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. -// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris +// +build !aix,!darwin,!dragonfly,!freebsd,!hurd,!linux,!netbsd,!openbsd,!solaris package os diff --git a/libgo/go/os/signal/internal/pty/pty.go b/libgo/go/os/signal/internal/pty/pty.go index a82cf05..4f65ad8 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. -// +build aix darwin dragonfly freebsd linux,!android netbsd openbsd solaris +// +build aix darwin dragonfly freebsd hurd linux,!android netbsd openbsd solaris // +build cgo // Package pty is a simple pseudo-terminal package for Unix systems, diff --git a/libgo/go/os/signal/signal_unix.go b/libgo/go/os/signal/signal_unix.go index 7fa634f..8ed0cde 100644 --- a/libgo/go/os/signal/signal_unix.go +++ b/libgo/go/os/signal/signal_unix.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. -// +build aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris windows +// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd solaris windows package signal diff --git a/libgo/go/os/stat_atim.go b/libgo/go/os/stat_atim.go index ef8a574..5308ac5 100644 --- a/libgo/go/os/stat_atim.go +++ b/libgo/go/os/stat_atim.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. -// +build linux openbsd solaristag +// +build hurd linux openbsd solaristag package os diff --git a/libgo/go/os/stat_unix.go b/libgo/go/os/stat_unix.go index 4f85dce..2bdbc4e 100644 --- a/libgo/go/os/stat_unix.go +++ b/libgo/go/os/stat_unix.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. -// +build aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris +// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd solaris package os diff --git a/libgo/go/os/sys_uname.go b/libgo/go/os/sys_uname.go index 89fbff8..7268ae1 100644 --- a/libgo/go/os/sys_uname.go +++ b/libgo/go/os/sys_uname.go @@ -4,7 +4,7 @@ // For systems which only store the hostname in uname (Solaris). -// +build aix solaris irix rtems +// +build aix hurd solaris irix rtems package os diff --git a/libgo/go/os/sys_unix.go b/libgo/go/os/sys_unix.go index 8491bad..37b5a47 100644 --- a/libgo/go/os/sys_unix.go +++ b/libgo/go/os/sys_unix.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. -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris +// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris package os diff --git a/libgo/go/os/user/cgo_lookup_unix.go b/libgo/go/os/user/cgo_lookup_unix.go index 722e95b..5872d11 100644 --- a/libgo/go/os/user/cgo_lookup_unix.go +++ b/libgo/go/os/user/cgo_lookup_unix.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. -// +build aix darwin dragonfly freebsd !android,linux netbsd openbsd solaris +// +build aix darwin dragonfly freebsd hurd !android,linux netbsd openbsd solaris // +build cgo,!osusergo package user diff --git a/libgo/go/os/user/decls_unix.go b/libgo/go/os/user/decls_unix.go index c2eb51e..276468c 100644 --- a/libgo/go/os/user/decls_unix.go +++ b/libgo/go/os/user/decls_unix.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. -// +build darwin dragonfly freebsd linux netbsd openbsd +// +build darwin dragonfly freebsd hurd linux netbsd openbsd // +build cgo package user diff --git a/libgo/go/os/user/listgroups_unix.go b/libgo/go/os/user/listgroups_unix.go index 63f73e6..af04c05 100644 --- a/libgo/go/os/user/listgroups_unix.go +++ b/libgo/go/os/user/listgroups_unix.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. -// +build dragonfly darwin freebsd !android,linux netbsd openbsd +// +build dragonfly darwin freebsd hurd !android,linux netbsd openbsd // +build cgo,!osusergo package user diff --git a/libgo/go/os/user/lookup_unix.go b/libgo/go/os/user/lookup_unix.go index be62f4d..ba914f6 100644 --- a/libgo/go/os/user/lookup_unix.go +++ b/libgo/go/os/user/lookup_unix.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. -// +build aix darwin dragonfly freebsd js,wasm !android,linux nacl netbsd openbsd solaris +// +build aix darwin dragonfly freebsd hurd js,wasm !android,linux nacl netbsd openbsd solaris // +build !cgo osusergo package user diff --git a/libgo/go/os/wait_unimp.go b/libgo/go/os/wait_unimp.go index 469abf7..2551f21 100644 --- a/libgo/go/os/wait_unimp.go +++ b/libgo/go/os/wait_unimp.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. -// +build aix darwin dragonfly js,wasm nacl netbsd openbsd solaris +// +build aix darwin dragonfly hurd js,wasm nacl netbsd openbsd solaris package os |