Ouch. That was hard work.
... contrib fix primarily for SunOS but also I think for Darwin;
at least, if it was working it was only by accident.
... uname -m never returns either "solaris" or "darwin", so that
code was wrong to start with;
... change the protocol so that we do EXTRA_CFLAGS rather than
a complete override; now we don't need the solaris or
darwin clauses in asdf-module.mk that weren't being used
... delete more stuff in make-target-contrib.sh so that we can
actually see the effect of these changes rather than
blindly reusing an old alien.so (which explains why I
hadn't noticed this before, *sigh*; I ran a completely
clean build on Solaris for the first time in months
... now sb-bsd-sockets and dependents work again. I hope I haven't
broken x86-64 in the process.