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

Build procedure fixup.
source: <f306f43f375bc9b9c98e85260587442e5d9ef0ba.1652094958.git.git@grubix.eu>

* mg/detect-compiler-in-c-locale:
  detect-compiler: make detection independent of locale
This commit is contained in:
Junio C Hamano 2022-06-08 14:27:52 -07:00
commit a5a52739e9

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() {