diff options
author | Ian Lance Taylor <iant@golang.org> | 2022-02-21 09:50:28 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2022-02-21 13:24:38 -0800 |
commit | a7eeaa48986f37badb78717e3c138a8d02bb01a6 (patch) | |
tree | aba52b475b168140ffd1f095821de8f21f11e818 /libgo | |
parent | ce09ab17ddd21f73ff2caf6eec3b0ee9b0e1a11e (diff) | |
download | gcc-a7eeaa48986f37badb78717e3c138a8d02bb01a6.zip gcc-a7eeaa48986f37badb78717e3c138a8d02bb01a6.tar.gz gcc-a7eeaa48986f37badb78717e3c138a8d02bb01a6.tar.bz2 |
runtime/internal/syscall: build dummy package if not Linux
Fixes libgo build on non-Linux systems.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/387134
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/go/runtime/internal/syscall/syscall_other.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libgo/go/runtime/internal/syscall/syscall_other.go b/libgo/go/runtime/internal/syscall/syscall_other.go new file mode 100644 index 0000000..c0945ce --- /dev/null +++ b/libgo/go/runtime/internal/syscall/syscall_other.go @@ -0,0 +1,7 @@ +// Copyright 2022 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +//go:build !linux + +package syscall |