diff --git a/config.guess b/config.guess index ae5ffc7..fa5a74b 100755 --- a/config.guess +++ b/config.guess @@ -2,7 +2,7 @@ # Attempt to guess a canonical system name. # Copyright 1992-2018 Free Software Foundation, Inc. -timestamp='2018-01-16' +timestamp='2018-01-25' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -141,12 +141,14 @@ Linux|GNU|GNU/*) eval "$set_cc_for_build" cat <<-EOF > "$dummy.c" #include - #if defined(__UCLIBC__) + #if defined(__GLIBC__) + LIBC=gnu + #elif defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #else - LIBC=gnu + LIBC=musl #endif EOF eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`"