summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-03-20 19:44:33 -0400
committermidipix <writeonce@midipix.org>2015-03-20 19:44:33 -0400
commit08cf2898d65d3cb768683609e6e4b6730cf2f678 (patch)
treea3ecfcf7ed317a37f5a55aa7b7ed243fcd0ae21a /libstdc++-v3
parent5621b0947f362f74f04dabeb3ac09969ec9d1ded (diff)
downloadcbb-gcc-4.6.4-08cf2898d65d3cb768683609e6e4b6730cf2f678.tar.bz2
cbb-gcc-4.6.4-08cf2898d65d3cb768683609e6e4b6730cf2f678.tar.xz
libstdc++-v3/configure.host: do not consider any particular libc as the
default libc on linux. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/configure.host6
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.