diff options
| author | Joe Richey joerichey@google.com <joerichey@google.com> | 2017-06-08 10:54:14 -0700 |
|---|---|---|
| committer | Joe Richey joerichey@google.com <joerichey@google.com> | 2017-06-15 22:32:35 -0700 |
| commit | d71b7f248e21f5254c32ecbf752a1dbe940a1177 (patch) | |
| tree | fd28a8f577ead500736cde46d8eb0647ae31415d /vendor/golang.org/x/sys/unix/mksyscall.pl | |
| parent | ea3e258610340de0dd585c221f4e18a199f16bca (diff) | |
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
Diffstat (limited to 'vendor/golang.org/x/sys/unix/mksyscall.pl')
| -rwxr-xr-x | vendor/golang.org/x/sys/unix/mksyscall.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |