Support 'COMPILERVERSION' in spec format string

This commit is contained in:
Peter J. Scheibel 2016-11-03 20:10:27 -07:00 committed by Todd Gamblin
parent a135a1245a
commit 74b439b7f1

View File

@ -2311,7 +2311,7 @@ def write(s, c):
elif named_str == 'COMPILERNAME':
if self.compiler:
write(fmt % self.compiler.name, '%')
elif named_str == 'COMPILERVER':
elif named_str in ['COMPILERVER', 'COMPILERVERSION']:
if self.compiler:
write(fmt % self.compiler.versions, '%')
elif named_str == 'COMPILERFLAGS':