lib/PublicInbox/Syscall.pm | 2 +- diff --git a/lib/PublicInbox/Syscall.pm b/lib/PublicInbox/Syscall.pm index 98110eaf587573ff829c6fc135876195dbfecbe1..17fd1398ac29bac3b1fcd3246a337151aa824b39 100644 --- a/lib/PublicInbox/Syscall.pm +++ b/lib/PublicInbox/Syscall.pm @@ -59,7 +59,6 @@ $clean->(); # don't require modules after us trust us return $rv; } -our ($sysname, $nodename, $release, $version, $machine) = POSIX::uname(); our ( $SYS_epoll_create, @@ -71,6 +70,7 @@ our $no_deprecated = 0; if ($^O eq "linux") { + my $machine = (POSIX::uname())[-1]; # whether the machine requires 64-bit numbers to be on 8-byte # boundaries. my $u64_mod_8 = 0;