Skip to content

Commit

Permalink
use64bitint is mandatory for NetBSD.
Browse files Browse the repository at this point in the history
Forcibly enable use64bitint for NetBSD 4.0 and later, where ino_t is uint64_t.

Otherwise, miniperl cannot open files whose inode numbers are not within
32-bit integer. This results in random build failures.
  • Loading branch information
rokuyama committed May 12, 2021
1 parent 1e43c13 commit 1e0df1c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hints/netbsd.sh
Expand Up @@ -300,3 +300,12 @@ EOM
;;
esac
EOCBU

# use64bitint is mandatory for NetBSD 4.0 and later, where ino_t is uint64_t.
case "$osver" in
[0-3].*)
;;
*)
use64bitint=yes
;;
esac

0 comments on commit 1e0df1c

Please sign in to comment.