Fix apple clang detection in lit.cfg
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@223597 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -293,7 +293,7 @@ class Configuration(object):
|
||||
if '__clang__' in macros.keys():
|
||||
compiler_name = 'clang'
|
||||
# Treat apple's llvm fork differently.
|
||||
if '__apple_build_type__' in macros.keys():
|
||||
if '__apple_build_version__' in macros.keys():
|
||||
compiler_name = 'apple-clang'
|
||||
major_ver = macros['__clang_major__']
|
||||
minor_ver = macros['__clang_minor__']
|
||||
|
Reference in New Issue
Block a user