functions: rename eglibc to glibc and use 'unknown' for unknown libc

This commit is contained in:
Natanael Copa 2014-06-20 08:38:03 +00:00
parent cc43223da1
commit 72f5a04b7f

View File

@ -17,8 +17,8 @@ hostspec_to_libc() {
case "$1" in case "$1" in
*-*-*-uclibc*) echo "uclibc" ;; *-*-*-uclibc*) echo "uclibc" ;;
*-*-*-musl*) echo "musl" ;; *-*-*-musl*) echo "musl" ;;
*-*-*-gnu*) echo "eglibc" ;; *-*-*-gnu*) echo "glibc" ;;
*) echo "uclibc" ;; *) echo "unknown" ;;
esac esac
} }