aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2017-09-07 00:17:14 +0200
committerSimon Warta <[email protected]>2017-09-07 00:17:14 +0200
commit9493d6761caec45ae25d15c73130376cd73939a9 (patch)
tree1b35006953b7489e15d9458cf79568579de6b362
parent9972e0fc2b407ea831f4cf90c5196b8b343e5e3a (diff)
Fix appleclang version table
-rwxr-xr-xconfigure.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 25f142cb9..eed0a5c8a 100755
--- a/configure.py
+++ b/configure.py
@@ -2707,7 +2707,9 @@ class CompilerDetector(object):
xcode_version_to_clang = {
'703': '3.8',
'800': '3.9',
- '802': '4.0'
+ # 802 has no support for clang 4.0 flags -Og and -MJ, 900 has.
+ '802': '3.9',
+ '900': '4.0',
}
match = re.search(r'Apple LLVM version [0-9.]+ \(clang-([0-9]{3})\.', cc_output)