freebsd-fix: EAI_ADDRFAMILY is deprecated on FreeBSD.
Merge branch 'freebsd-fix' into stable
-static-libgcc only if use libgcc
Merge branch 'stable'