cxx_type = self.cxx.type
if cxx_type is not None:
assert self.cxx.version is not None
- maj_v, min_v, _ = self.cxx.version
+ maj_v, min_v, patch_v = self.cxx.version
self.config.available_features.add(cxx_type)
self.config.available_features.add('%s-%s' % (cxx_type, maj_v))
self.config.available_features.add('%s-%s.%s' % (
cxx_type, maj_v, min_v))
+ self.config.available_features.add('%s-%s.%s.%s' % (
+ cxx_type, maj_v, min_v, patch_v))
self.cxx.compile_env = dict(os.environ)
# 'CCACHE_CPP2' prevents ccache from stripping comments while
# preprocessing. This is required to prevent stripping of '-verify'