Makefile generator needs to respect platform ARG_MAX
Building OpenBlas 0.2.18 with cmake 3.6.0 and gcc on NetBSD-current/amd64, I get the failure:
[ 99%] Linking Fortran shared library lib/libopenblas.so
Error running link command: Argument list too long
$ getconf ARG_MAX
262144