From d71b7f248e21f5254c32ecbf752a1dbe940a1177 Mon Sep 17 00:00:00 2001 From: "Joe Richey joerichey@google.com" Date: Thu, 8 Jun 2017 10:54:14 -0700 Subject: vendor: update x/sys/unix This commit updates the vendored x/sys/unix to the current version. This means that our vendored version of x/sys/unix no longer contains custom patches. A few changes are needed in InsertPolicyKey() as the final API differed slightly from our patches. Change-Id: Ifff31c04e708f9dc4395ab5bfcc94e42fb46dea5 --- vendor/golang.org/x/sys/unix/mksyscall.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/golang.org/x/sys/unix/mksyscall.pl') diff --git a/vendor/golang.org/x/sys/unix/mksyscall.pl b/vendor/golang.org/x/sys/unix/mksyscall.pl index eb4b56f..fb929b4 100755 --- a/vendor/golang.org/x/sys/unix/mksyscall.pl +++ b/vendor/golang.org/x/sys/unix/mksyscall.pl @@ -70,7 +70,7 @@ if($ARGV[0] =~ /^-/) { } # Check that we are using the new build system if we should -if($ENV{'GOOS'} eq "linux" || $ENV{'GOARCH'} ne "sparc64") { +if($ENV{'GOOS'} eq "linux" && $ENV{'GOARCH'} ne "sparc64") { if($ENV{'GOLANG_SYS_BUILD'} ne "docker") { print STDERR "In the new build system, mksyscall should not be called directly.\n"; print STDERR "See README.md\n"; -- cgit v1.3