diff mbox

libgo patch committed: fix build for 32-bit PPC

Message ID CAOyqgcURMTMO4VNu-idm_XKnxFtGG90HRnsN4DaHXxtMdXBQfQ@mail.gmail.com
State New
Headers show

Commit Message

Ian Lance Taylor Aug. 6, 2016, 3:59 p.m. UTC
This patch fixes the libgo build for 32-bit PPC, by adding a "ppc"
build constraint to the internal/syscall/unix library.  Tested by
verifying that match.sh returned the right file, and by verifying that
the build on x86_64-pc-linux-gnu did not change.

Ian
diff mbox

Patch

Index: gcc/go/gofrontend/MERGE
===================================================================
--- gcc/go/gofrontend/MERGE	(revision 239189)
+++ gcc/go/gofrontend/MERGE	(working copy)
@@ -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.
Index: libgo/go/internal/syscall/unix/getrandom_linux_ppc64x.go
===================================================================
--- libgo/go/internal/syscall/unix/getrandom_linux_ppc64x.go	(revision 238662)
+++ libgo/go/internal/syscall/unix/getrandom_linux_ppc64x.go	(working copy)
@@ -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