waf: print compiler version as part of configure

This commit is contained in:
Peter Barker 2020-09-14 13:23:24 +10:00 committed by Peter Barker
parent 466d61a881
commit 0bb44ba933

View File

@ -131,6 +131,8 @@ class Board:
AP_SCRIPTING_CHECKS = 1,
)
cfg.msg("CXX Compiler", "%s %s" % (cfg.env.COMPILER_CXX, ".".join(cfg.env.CC_VERSION)))
if 'clang' in cfg.env.COMPILER_CC:
env.CFLAGS += [
'-fcolor-diagnostics',