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
*-*-*-uclibc*) echo "uclibc" ;;
*-*-*-musl*) echo "musl" ;;
*-*-*-gnu*) echo "eglibc" ;;
*) echo "uclibc" ;;
*-*-*-gnu*) echo "glibc" ;;
*) echo "unknown" ;;
esac
}