Detect clang on macOS. The version string is slightly different.
This commit is contained in:
parent
7c04d42209
commit
1f71b30c10
@ -147,7 +147,7 @@ ${X_}COMPILER_TYPE:= clang
|
||||
${X_}COMPILER_TYPE:= gcc
|
||||
. elif ${_v:M\(GCC\)}
|
||||
${X_}COMPILER_TYPE:= gcc
|
||||
. elif ${_v:Mclang}
|
||||
. elif ${_v:Mclang} || ${_v:M(clang-*.*.*)}
|
||||
${X_}COMPILER_TYPE:= clang
|
||||
. else
|
||||
.error Unable to determine compiler type for ${cc}=${${cc}}. Consider setting ${X_}COMPILER_TYPE.
|
||||
|
Loading…
Reference in New Issue
Block a user