diff options
author | Carlo Marcelo Arenas Belón <carenas@gmail.com> | 2021-08-06 01:06:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-08-06 13:29:00 -0700 |
commit | f6bb2099bf0f982bd3d43fe479b8272d5bf18a6a (patch) | |
tree | 6136b273241de0b9b8965f4870109f27f1b2bb36 /ls-refs.c | |
parent | Git 2.32 (diff) | |
download | tgif-f6bb2099bf0f982bd3d43fe479b8272d5bf18a6a.tar.xz |
build: update detect-compiler for newer Xcode version
1da1580e4c (Makefile: detect compiler and enable more warnings in
DEVELOPER=1, 2018-04-14) uses the output of the compiler banner to
detect the compiler family.
Apple had since changed the wording used to refer to its compiler
as clang instead of LLVM as shown by:
$ cc --version
Apple clang version 12.0.5 (clang-1205.0.22.9)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
so update the script to match, and allow DEVELOPER=1 to work as
expected again in macOS.
Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ls-refs.c')
0 files changed, 0 insertions, 0 deletions