Found this in open-mpi.org; if it's the proper fix for squashfs-tools-ng as well, then we should immortalize it in brewkit's toolchain.
darwin doesn't like gcc's ... ar and ranlib, I believe. try this:
env:
darwin:
# FIXME: binutils ar/ranlib are broken on macOS?
AR: /usr/bin/ar
RANLIB: /usr/bin/ranlib
Originally posted by @jhheider in pkgxdev/pantry#4883 (comment)