From: Ian Lance Taylor Date: Sat, 6 Aug 2016 15:58:22 +0000 (+0000) Subject: libgo: fix getrandom build for 32-bit ppc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=851e6c6a8e43977768b9ca8db1bfd66bfda67f2f;p=gcc.git 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 --- diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 185d9e9d678..4128898c484 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 9b6e9722be9..a7d0bd9f73a 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