build: require clang >= 3.6
Also fix an unused lambda capture warning with clang >= 5.0 Change-Id: I29c56cdf560da4a44efa038d4e65d868975aab6e
This commit is contained in:
1 parent
359135cfb2
commit
d657d53eea
3 files changed
+10
-17
No files matched your search
@@ -20,9 +20,9 @@ def configure(conf):
|
||||
'The minimum supported gcc version is 5.3.0.')
|
||||
conf.flags = GccFlags()
|
||||
elif cxx == 'clang':
|
||||
if ccver < (3, 5, 0):
|
||||
if ccver < (3, 6, 0):
|
||||
errmsg = ('The version of clang you are using is too old.\n'
|
||||
'The minimum supported clang version is 3.5.0.')
|
||||
'The minimum supported clang version is 3.6.0.')
|
||||
conf.flags = ClangFlags()
|
||||
else:
|
||||
warnmsg = 'Note: %s compiler is unsupported' % cxx
|
||||
|
||||
Reference in new issue
Block a user