Merge branch 'mg/detect-compiler-in-c-locale'

Build procedure fixup.

* mg/detect-compiler-in-c-locale:
  detect-compiler: make detection independent of locale
This commit is contained in:
Junio C Hamano 2022-05-20 15:26:56 -07:00
commit 1dff6dc016

View File

@ -9,7 +9,7 @@ CC="$*"
#
# FreeBSD clang version 3.4.1 (tags/RELEASE...)
get_version_line() {
$CC -v 2>&1 | grep ' version '
LANG=C LC_ALL=C $CC -v 2>&1 | grep ' version '
}
get_family() {