From 9db4635146b2a1d56a1b2742234d5380b437be73 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sat, 6 Dec 2014 22:49:38 +0000 Subject: [PATCH] Fix apple clang detection in lit.cfg llvm-svn: 223597 --- libcxx/test/lit.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/test/lit.cfg b/libcxx/test/lit.cfg index 7c8d268..8c806ee 100644 --- a/libcxx/test/lit.cfg +++ b/libcxx/test/lit.cfg @@ -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__'] -- 2.7.4