diff options
-rw-r--r-- | libstdc++-v3/configure.host | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host index e29404c02..506cab143 100644 --- a/libstdc++-v3/configure.host +++ b/libstdc++-v3/configure.host @@ -241,7 +241,7 @@ case "${host_os}" in os_include_dir="os/uclibc" elif [ "$bionic" = "yes" ]; then os_include_dir="os/bionic" - else + elif [ "$glibc" = "yes" ]; then os_include_dir="os/gnu-linux" fi ;; @@ -292,6 +292,10 @@ case "${host_os}" in ;; esac +# os_include_dir: generic fallback +if [ x"$os_include_dir" = x ]; then + os_include_dir="os/generic" +fi # Set any OS-dependent and CPU-dependent bits. # THIS TABLE IS SORTED. KEEP IT THAT WAY. |