--- libstdc++-v3/configure.host.orig 2016-10-24 12:26:59 UTC +++ libstdc++-v3/configure.host @@ -229,6 +229,9 @@ case "${host_os}" in os_include_dir="os/generic" atomicity_dir="cpu/generic" ;; + bsdsunix*) + os_include_dir="os/bsd/bsdsunix" + ;; bsd*) # Plain BSD attempts to share FreeBSD files. os_include_dir="os/bsd/freebsd" @@ -262,7 +265,7 @@ case "${host_os}" in freebsd*) os_include_dir="os/bsd/freebsd" ;; - gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu) + gnu* | linux* | kbsdsunix*-gnu | kfreebsd*-gnu | knetbsd*-gnu) if [ "$uclibc" = "yes" ]; then os_include_dir="os/uclibc" elif [ "$bionic" = "yes" ]; then @@ -352,6 +355,9 @@ case "${host}" in ;; esac ;; + arm*-*-bsdsunix*) + port_specific_symbol_files="\$(srcdir)/../config/os/gnu-linux/arm-eabi-extra.ver" + ;; arm*-*-freebsd*) port_specific_symbol_files="\$(srcdir)/../config/os/gnu-linux/arm-eabi-extra.ver" ;;