--- gcc/config.host.orig 2015-01-09 14:06:02 UTC +++ gcc/config.host @@ -99,7 +99,7 @@ case ${host} in esac case ${host} in - arm*-*-freebsd* | arm*-*-linux*) + arm*-*-bsdsunix* | arm*-*-freebsd* | arm*-*-linux*) case ${target} in arm*-*-*) host_extra_gcc_objs="driver-arm.o" @@ -143,7 +143,7 @@ case ${host} in ;; esac case ${host} in - *-*-linux* | *-*-freebsd*) + *-*-linux* | *-*-bsdsunix* | *-*-freebsd*) if test "${GCC}:${ac_cv_sizeof_long}" = yes:4; then # On powerpc*-*-linux* use -Wl,--relax to link cc1, # if ld is new enough, otherwise force -O1 in CFLAGS.