aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2016-08-06 15:58:22 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2016-08-06 15:58:22 +0000
commit851e6c6a8e43977768b9ca8db1bfd66bfda67f2f (patch)
tree0fd12e4b5db0903adfe3f6694596d4657391e01f
parentcaee9cdee7f2eee31669eaecb694967ae8091d78 (diff)
downloadgcc-851e6c6a8e43977768b9ca8db1bfd66bfda67f2f.zip
gcc-851e6c6a8e43977768b9ca8db1bfd66bfda67f2f.tar.gz
gcc-851e6c6a8e43977768b9ca8db1bfd66bfda67f2f.tar.bz2
libgo: fix getrandom build for 32-bit ppc
Add a ppc build constraint for internal/syscall/unix. Reviewed-on: https://go-review.googlesource.com/25547 From-SVN: r239210
-rw-r--r--gcc/go/gofrontend/MERGE2
-rw-r--r--libgo/go/internal/syscall/unix/getrandom_linux_ppc64x.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 185d9e9..4128898 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-8473b709ebd46c03c0e36e140656bd8c5d32d883
+b50a0c3fa975186f934b76e25dae42eb65148d67
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
diff --git a/libgo/go/internal/syscall/unix/getrandom_linux_ppc64x.go b/libgo/go/internal/syscall/unix/getrandom_linux_ppc64x.go
index 9b6e972..a7d0bd9 100644
--- a/libgo/go/internal/syscall/unix/getrandom_linux_ppc64x.go
+++ b/libgo/go/internal/syscall/unix/getrandom_linux_ppc64x.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 ppc64 ppc64le
+// +build ppc ppc64 ppc64le
package unix