diff --git a/src/libstdc++-v3/configure.host b/src/libstdc++-v3/configure.host index ec32980aa0d..d03492eb8da 100644 --- a/src/libstdc++-v3/configure.host +++ b/src/libstdc++-v3/configure.host @@ -258,7 +258,7 @@ case "${host_os}" in linux-musl*) os_include_dir="os/generic" ;; - gnu* | linux* | kfreebsd*-gnu | uclinux*) + linux* | kfreebsd*-gnu | uclinux*) if [ "$uclibc" = "yes" ]; then os_include_dir="os/uclibc" elif [ "$bionic" = "yes" ]; then @@ -267,6 +267,9 @@ case "${host_os}" in os_include_dir="os/gnu-linux" fi ;; + gnu*) + os_include_dir="os/gnu" + ;; hpux*) os_include_dir="os/hpux" ;;