--- libstdc++-v3/crossconfig.m4.orig 2014-04-22 12:30:59 UTC +++ libstdc++-v3/crossconfig.m4 @@ -65,7 +65,7 @@ case "${host}" in AC_DEFINE(HAVE_HYPOT) ;; - *-freebsd*) + *-bsdsunix*|*-freebsd*) SECTION_FLAGS='-ffunction-sections -fdata-sections' AC_SUBST(SECTION_FLAGS) GLIBCXX_CHECK_LINKER_FEATURES