mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
fix failure of configure to detect gcc due to message translations
based on patch by Vadim Ushakov. in general overriding LC_ALL rather than specific categories (here, LC_MESSAGES) is undesirable, but LC_ALL is easier and in this case there is nothing else that depends on the locale in this invocation of the compiler.
This commit is contained in:
parent
ecb608192a
commit
b553dc4fe6
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -204,7 +204,7 @@ fi
|
|||
# musl-gcc wrapper, and for critical bug detection in some gcc versions.
|
||||
#
|
||||
printf "checking whether compiler is gcc... "
|
||||
if fnmatch '*gcc\ version*' "$($CC -v 2>&1)" ; then
|
||||
if fnmatch '*gcc\ version*' "$(LC_ALL=C $CC -v 2>&1)" ; then
|
||||
cc_is_gcc=yes
|
||||
else
|
||||
cc_is_gcc=no
|
||||
|
|
Loading…
Add table
Reference in a new issue