diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-01-30 21:54:58 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-01-30 21:54:58 -0500 |
commit | b553dc4fe68c02bb1ddbb4db906d43124b6be70a (patch) | |
tree | 755ddd1b546942608d0c6adea8144d28294ec51d /configure | |
parent | ecb608192a48d3688e1a0a21027bfd968d3301a1 (diff) | |
download | musl-b553dc4fe68c02bb1ddbb4db906d43124b6be70a.tar.gz musl-b553dc4fe68c02bb1ddbb4db906d43124b6be70a.tar.bz2 musl-b553dc4fe68c02bb1ddbb4db906d43124b6be70a.tar.xz musl-b553dc4fe68c02bb1ddbb4db906d43124b6be70a.zip |
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.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |